Merge from Tracemonkey.

This commit is contained in:
David Mandelin
2010-07-27 11:48:08 -07:00
236 changed files with 40026 additions and 676 deletions

View File

@@ -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;