bug 658016 - followup to fix !JS_THREADSAFE builds.
authorIgor Bukanov <igor@mir2.org>
Sun, 22 May 2011 09:27:01 +0200
changeset 69960 57412df720cf576d0970271a25288abd018daef3
parent 69959 0e2d15573f6c8c94f71f1c534a26983af6e26e1f
child 69961 d52f353139fc61b454fd18ae243a87872457f707
child 75096 5113ddba6f6078ddc3b46c43eecd22ab1f89f649
push id20142
push usercleary@mozilla.com
push dateMon, 23 May 2011 07:31:35 +0000
treeherdermozilla-central@0f9347d40121 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs658016
milestone6.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 658016 - followup to fix !JS_THREADSAFE builds.
js/src/jsgc.cpp
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -2829,17 +2829,17 @@ TraceRuntime(JSTracer *trc)
 
             AutoCopyFreeListToArenas copy(rt);
             RecordNativeStackTopForGC(trc->context);
             MarkRuntime(trc);
             return;
         }
     }
 #else
-    AutoCopyFreeListToArenas copy(rt);
+    AutoCopyFreeListToArenas copy(trc->context->runtime);
     RecordNativeStackTopForGC(trc->context);
 #endif
 
     /*
      * Calls from inside a normal GC or a recursive calls are OK and do not
      * require session setup.
      */
     MarkRuntime(trc);