Bug 847698 - Move most slot allocation closer to object creation; r=bhackett

This commit is contained in:
Terrence Cole
2013-03-03 12:43:40 -08:00
parent a6adb73c9e
commit 5cae85171a
6 changed files with 38 additions and 53 deletions

View File

@@ -392,7 +392,7 @@ NewPropertyIteratorObject(JSContext *cx, unsigned flags)
return NULL;
RawObject obj = JSObject::create(cx, ITERATOR_FINALIZE_KIND,
GetInitialHeap(GenericObject, clasp), shape, type, NULL);
GetInitialHeap(GenericObject, clasp), shape, type);
if (!obj)
return NULL;