Bug 706885 - Do not store singletons in the Nursery; r=bhackett

This commit is contained in:
Terrence Cole
2013-01-28 11:01:54 -08:00
parent 6cca5db344
commit 28db2765dd
42 changed files with 515 additions and 374 deletions

View File

@@ -390,7 +390,7 @@ NewPropertyIteratorObject(JSContext *cx, unsigned flags)
if (!shape)
return NULL;
RawObject obj = JSObject::create(cx, ITERATOR_FINALIZE_KIND, shape, type, NULL);
RawObject obj = JSObject::create(cx, ITERATOR_FINALIZE_KIND, gc::DefaultHeap, shape, type, NULL);
if (!obj)
return NULL;