Improved JM call path, bug 587707. r=lw,dvander
This commit is contained in:
@@ -1271,7 +1271,7 @@ SendToGenerator(JSContext *cx, JSGeneratorOp op, JSObject *obj,
|
||||
|
||||
/* Copy frame onto the stack. */
|
||||
stackfp->stealFrameAndSlots(stackvp, genfp, genvp, gen->regs.sp);
|
||||
stackfp->repointGeneratorFrameDown(cx->maybefp());
|
||||
stackfp->setPrev(cx->regs);
|
||||
stackfp->unsetFloatingGenerator();
|
||||
RebaseRegsFromTo(&gen->regs, genfp, stackfp);
|
||||
MUST_FLOW_THROUGH("restore");
|
||||
|
||||
Reference in New Issue
Block a user