Bug 767141 followup - remove extra return statement. r=woof!
authorSteve Fink <sfink@mozilla.com>
Mon, 02 Jul 2012 08:54:12 -0700
changeset 98119 4cd38116f593d7db97fb24d3e9831243ae553c48
parent 98118 e248fe5d20f4b674f44e400101f76cb988c01f24
child 98120 c9c5ff6c35594dd0e701e3f529b5c0abf7ba8b25
push id23024
push userryanvm@gmail.com
push dateMon, 02 Jul 2012 22:29:23 +0000
treeherdermozilla-central@26aa29fdd888 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswoof
bugs767141
milestone16.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 767141 followup - remove extra return statement. r=woof!
js/src/jsgc.cpp
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -4255,18 +4255,16 @@ JS::CheckStackRoots(JSContext *cx)
     // should be modified to properly root any gcthings, and very possibly any
     // code calling that function should also be modified if it was improperly
     // assuming that GC could not happen at all within the called function.
     // (The latter may not apply if the AssertRootingUnnecessary only protected
     // a portion of a function, so the callers were already assuming that GC
     // could happen.)
     JS_ASSERT(!cx->rootingUnnecessary);
 
-        return;
-
     AutoCopyFreeListToArenas copy(rt);
 
     JSTracer checker;
     JS_TracerInit(&checker, rt, EmptyMarkCallback);
 
     ConservativeGCData *cgcd = &rt->conservativeGC;
     cgcd->recordStackTop();