Bug 650161 - Remove obsolete comment r=sfink DONTBUILD
authorJon Coppeard <jcoppeard@mozilla.com>
Mon, 20 Oct 2014 10:36:17 +0100
changeset 235522 62ac7c28ddae3742c32daafe3198a9c6965ead83
parent 235521 18d8629e20c9f73dbe025650106786bb466f4fe6
child 235523 cc2d8bdbccb86454ee315f42eb0d998f87d789ca
child 235617 0c905641f86770ee801f6302beeb2cc0f8c61327
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink
bugs650161
milestone36.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 650161 - Remove obsolete comment r=sfink DONTBUILD
js/src/jsgc.cpp
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -2093,20 +2093,16 @@ static bool
 CanRelocateZone(JSRuntime *rt, Zone *zone)
 {
     return !rt->isAtomsZone(zone) && !rt->isSelfHostingZone(zone);
 }
 
 static bool
 CanRelocateArena(ArenaHeader *arena)
 {
-    /*
-     * We can't currently move global objects because their address can be baked
-     * into compiled code so we skip relocation of any area containing one.
-     */
     return arena->getAllocKind() <= FINALIZE_OBJECT_LAST;
 }
 
 static bool
 ShouldRelocateArena(ArenaHeader *arena)
 {
 #ifdef JS_GC_ZEAL
     if (arena->zone->runtimeFromMainThread()->gc.zeal() == ZealCompactValue)