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 298208 a3eb07c249c423d3ff2ee258665be51480a404be
parent 298207 fdbc5ad618facce8b3e8abc2c9f8f409934b2df2
child 298209 f186693ee23aa8444edc705ebce11667a8a0c1c1
push id19308
push userkwierso@gmail.com
push dateFri, 20 May 2016 21:37:55 +0000
treeherderfx-team@df823f36e8cf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmeow
bugs1232417
milestone49.0a1
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)