Bug 589340 - factor out / weaken dummy frames (r=mrbkap)

This commit is contained in:
Luke Wagner
2010-08-21 16:03:07 -07:00
parent c20e65f547
commit f1d5452aa2
9 changed files with 74 additions and 127 deletions

View File

@@ -1229,7 +1229,7 @@ SendToGenerator(JSContext *cx, JSGeneratorOp op, JSObject *obj,
* Get a pointer to new frame/slots. This memory is not "claimed", so
* the code before pushExecuteFrame must not reenter the interpreter.
*/
ExecuteFrameGuard frame;
FrameGuard frame;
if (!cx->stack().getExecuteFrame(cx, cx->maybefp(), vplen, nfixed, frame)) {
gen->state = JSGEN_CLOSED;
return JS_FALSE;