Bug 471373 - OOM in imacro trips assert, r=brendan.

This commit is contained in:
Graydon Hoare 2009-03-17 15:50:55 -07:00
parent 43debacfae
commit 44c661ddb2

View File

@ -6963,7 +6963,7 @@ js_Interpret(JSContext *cx)
atoms = script->atomMap.vector; atoms = script->atomMap.vector;
} }
JS_ASSERT((size_t)(regs.pc - script->code) < script->length); JS_ASSERT((size_t)((fp->imacpc ? fp->imacpc : regs.pc) - script->code) < script->length);
#ifdef JS_TRACER #ifdef JS_TRACER
/* /*