Commits

Brian Burg committed ec6ba9d

NEW: tmp-dispatch

Comments (0)

Files changed (2)

 jsprobes-dispatch-integration
 jsshell-integration #+shell
 xpcom-nsIProbeService
+tmp-dispatch
 
 
 
+# HG changeset patch
+# Parent 79dd2ce338433188a2a64a780715789655097c12
+diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp
+--- a/js/src/jsgc.cpp
++++ b/js/src/jsgc.cpp
+@@ -2700,14 +2700,16 @@
+     GCTIMER_BEGIN(rt, comp);
+ 
+     struct AutoGCProbe {
++        JSRuntime *rt;
+         JSCompartment *comp;
+-        AutoGCProbe(JSCompartment *comp) : comp(comp) {
+-            Probes::GCStart(comp);
++        AutoGCProbe(JSRuntime *rt, JSCompartment *comp)
++            : rt(rt), comp(comp) {
++            Probes::GCStart(rt, comp);
+         }
+         ~AutoGCProbe() {
+-            Probes::GCEnd(comp); /* background thread may still be sweeping */
++            Probes::GCEnd(rt, comp); /* background thread may still be sweeping */
+         }
+-    } autoGCProbe(comp);
++    } autoGCProbe(rt, comp);
+ 
+     do {
+         /*