[JAEGER] Fix build.

This commit is contained in:
David Anderson
2010-06-10 22:20:30 -07:00
parent fb0f152919
commit 7812042838
10 changed files with 37 additions and 36 deletions

View File

@@ -1091,7 +1091,7 @@ SendToGenerator(JSContext *cx, JSGeneratorOp op, JSObject *obj,
JSObject *enumerators = cx->enumerators;
cx->enumerators = gen->enumerators;
ok = RunScript(cx, fp->script, fp->fun, fp->scopeChain);
ok = RunScript(cx, fp->script, fp->fun, &fp->scopeChain.asObject());
/* Restore the original enumerators stack. */
gen->enumerators = cx->enumerators;