bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey

This commit is contained in:
Igor Bukanov
2011-04-20 07:30:10 +02:00
parent e870e569fc
commit 076ddf99fb
14 changed files with 500 additions and 724 deletions

View File

@@ -1064,7 +1064,7 @@ JSObject::makeDenseArraySlow(JSContext *cx)
/* Create a native scope. */
JSObject *arrayProto = getProto();
js::gc::FinalizeKind kind = js::gc::FinalizeKind(arena()->header()->thingKind);
js::gc::FinalizeKind kind = js::gc::FinalizeKind(arenaHeader()->getThingKind());
if (!InitScopeForObject(cx, this, &js_SlowArrayClass, arrayProto, kind))
return false;