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
Родитель 9beb9010e9
Коммит 555e8ff575
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

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