Backed out changeset d56f9c2057ed
authorRobert Sayre <sayrer@gmail.com>
Thu, 06 Jan 2011 21:36:24 -0500
changeset 60185 042f7e48aae93c254c2b1130adea27c365fda16f
parent 60183 d56f9c2057ed127ed2f238ffa2b2c43a6d6c714a
child 60187 deed5a4e5eb7bcd0f5a0bbfece484a7f4dd21f2f
push id17881
push usercleary@mozilla.com
push dateFri, 07 Jan 2011 19:57:21 +0000
treeherdermozilla-central@54576be62860 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b9pre
backs outd56f9c2057ed127ed2f238ffa2b2c43a6d6c714a
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
Backed out changeset d56f9c2057ed
js/src/jsgc.cpp
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -1588,18 +1588,17 @@ MarkContext(JSTracer *trc, JSContext *ac
     for (js::AutoGCRooter *gcr = acx->autoGCRooters; gcr; gcr = gcr->down)
         gcr->trace(trc);
 
     if (acx->sharpObjectMap.depth > 0)
         js_TraceSharpMap(trc, &acx->sharpObjectMap);
 
     MarkValue(trc, acx->iterValue, "iterValue");
 
-    if (acx->compartment)
-        acx->compartment->marked = true;
+    acx->compartment->marked = true;
 
 #ifdef JS_TRACER
     TracerState* state = acx->tracerState;
     while (state) {
         if (state->nativeVp)
             MarkValueRange(trc, state->nativeVpLen, state->nativeVp, "nativeVp");
         state = state->prev;
     }