Bug 472450 - Don't record after js_GetScopeChain, since we can't successfully recover from a side exit. r=gal

This commit is contained in:
Blake Kaplan 2009-02-11 15:16:20 -08:00
Родитель 9b5aaf8209
Коммит 1a2fc33b02
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -8941,6 +8941,9 @@ TraceRecorder::record_JSOP_TYPEOFEXPR()
JS_REQUIRES_STACK bool
TraceRecorder::record_JSOP_ENTERBLOCK()
{
if (cx->fp->flags & JSFRAME_POP_BLOCKS)
ABORT_TRACE("can't trace after js_GetScopeChain");
JSScript* script = cx->fp->script;
JSFrameRegs& regs = *cx->fp->regs;
JSObject* obj;