Bug 785905 - Build Ion MIR graph off thread, r=jandem.

This commit is contained in:
Brian Hackett
2013-12-16 10:53:02 -08:00
parent 8325a873ea
commit 76b1846588
52 changed files with 1086 additions and 506 deletions

View File

@@ -1937,6 +1937,7 @@ GlobalObject::initIteratorClasses(JSContext *cx, Handle<GlobalObject *> global)
if (!LinkConstructorAndPrototype(cx, genFunction, genFunctionProto))
return false;
AutoLockForCompilation lock(cx);
global->setSlot(STAR_GENERATOR_OBJECT_PROTO, ObjectValue(*genObjectProto));
global->setConstructor(JSProto_GeneratorFunction, ObjectValue(*genFunction));
global->setPrototype(JSProto_GeneratorFunction, ObjectValue(*genFunctionProto));