Restore script local before goto error, duh (523280, r=igor).

This commit is contained in:
Brendan Eich 2009-10-21 11:34:58 -07:00
parent 3df941c39b
commit 891d4e8447

View File

@ -2089,6 +2089,7 @@ BEGIN_CASE(JSOP_APPLY)
/* Restrict recursion of lightweight functions. */
if (inlineCallCount >= JS_MAX_INLINE_CALL_COUNT) {
js_ReportOverRecursed(cx);
script = fp->script;
goto error;
}