Kludge tracing code (DEBUG only) to cope with JSOP_FORELEM oddment (286216).

This commit is contained in:
brendan%mozilla.org 2005-03-15 22:22:45 +00:00
parent 75bbd70202
commit 55ffff862e

View File

@ -5266,6 +5266,8 @@ js_Interpret(JSContext *cx, jsbytecode *pc, jsval *result)
ndefs = cs->ndefs;
if (ndefs) {
SAVE_SP(fp);
if (op == JSOP_FORELEM && sp[-1] == JSVAL_FALSE)
--ndefs;
for (n = -ndefs; n < 0; n++) {
str = js_DecompileValueGenerator(cx, n, sp[n], NULL);
if (str) {