No bug - Use "goto error" instead of "return false" in Interpret. r=bhackett on IRC

This commit is contained in:
Jan de Mooij 2012-06-08 17:07:35 +02:00
parent 06b6f73982
commit ec5e031168

View File

@ -3215,7 +3215,7 @@ BEGIN_CASE(JSOP_INITELEM)
if (JSID_TO_INT(id) == INT32_MAX) {
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL,
JSMSG_SPREAD_TOO_LARGE);
return false;
goto error;
}
regs.sp[-2].setInt32(JSID_TO_INT(id) + 1);
regs.sp--;