Merge from Tracemonkey.
This commit is contained in:
@@ -1248,7 +1248,7 @@ SendToGenerator(JSContext *cx, JSGeneratorOp op, JSObject *obj,
|
||||
JSObject *enumerators = cx->enumerators;
|
||||
cx->enumerators = gen->enumerators;
|
||||
|
||||
ok = Interpret(cx);
|
||||
ok = RunScript(cx, fp->script, fp->fun, fp->scopeChain);
|
||||
|
||||
/* Restore the original enumerators stack. */
|
||||
gen->enumerators = cx->enumerators;
|
||||
|
||||
Reference in New Issue
Block a user