Backout bug 785905, off-thread IonBuilder. r=jorendorff

This commit is contained in:
Jan de Mooij
2014-02-14 13:17:53 +01:00
parent b754e685cd
commit 91ef327a86
55 changed files with 187 additions and 1095 deletions

View File

@@ -2048,7 +2048,6 @@ 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));