[INFER] Apply arguments and script review comments, bug 657412.

This commit is contained in:
Brian Hackett
2011-06-06 08:32:41 -07:00
parent 55de191c48
commit 61a28b08bb
24 changed files with 581 additions and 536 deletions

View File

@@ -1252,7 +1252,7 @@ SendToGenerator(JSContext *cx, JSGeneratorOp op, JSObject *obj,
jsbytecode *yieldpc = gen->regs.pc - JSOP_YIELD_LENGTH;
JS_ASSERT(JSOp(*yieldpc) == JSOP_YIELD || JSOp(*yieldpc) == JSOP_TRAP);
script->typeMonitorUnknown(cx, yieldpc);
script->types.monitorUnknown(cx, yieldpc);
/*
* Store the argument to send as the result of the yield