Bug 1232417 - Followup to fix unexpected S bustage on a CLOSED TREE; r=meow
authorTerrence Cole <terrence@mozilla.com>
Thu, 19 May 2016 12:12:40 -0700
changeset 298176 a3eb07c249c423d3ff2ee258665be51480a404be
parent 298175 fdbc5ad618facce8b3e8abc2c9f8f409934b2df2
child 298177 f186693ee23aa8444edc705ebce11667a8a0c1c1
push id77061
push usertcole@mozilla.com
push dateThu, 19 May 2016 19:16:57 +0000
treeherdermozilla-inbound@a3eb07c249c4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmeow
bugs1232417
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1232417 - Followup to fix unexpected S bustage on a CLOSED TREE; r=meow
js/src/jsgc.cpp
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -3906,17 +3906,17 @@ class CompartmentCheckTracer : public JS
     JS::TraceKind srcKind;
     Zone* zone;
     JSCompartment* compartment;
 };
 
 namespace {
 struct IsDestComparatorFunctor {
     JS::GCCellPtr dst_;
-    IsDestComparatorFunctor(JS::GCCellPtr dst) : dst_(dst) {}
+    explicit IsDestComparatorFunctor(JS::GCCellPtr dst) : dst_(dst) {}
 
     using ReturnType = bool;
     template <typename T> bool operator()(T* t) { return (*t) == dst_.asCell(); }
 };
 } // namespace (anonymous)
 
 static bool
 InCrossCompartmentMap(JSObject* src, JS::GCCellPtr dst)