bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user