Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz

This commit is contained in:
Jon Coppeard
2013-07-23 10:58:26 +01:00
parent c01c64263a
commit d955a55606
11 changed files with 190 additions and 71 deletions

View File

@@ -563,6 +563,7 @@ CycleCollectedJSRuntime::MaybeTraceGlobals(JSTracer* aTracer) const
}
if (JSObject* global = js::GetDefaultGlobalForContext(acx)) {
JS::AssertGCThingMustBeTenured(global);
JS_CallObjectTracer(aTracer, &global, "Global Object");
}
}