Fix use of space above the active JS stack pointer, bug 718347. r=dvander

This commit is contained in:
Brian Hackett 2012-01-20 16:19:05 -08:00
parent a928d30ab7
commit b75944b118

View File

@ -126,8 +126,10 @@ template void JS_FASTCALL stubs::SetGlobalName<false>(VMFrame &f, PropertyName *
void JS_FASTCALL
stubs::Name(VMFrame &f)
{
if (!NameOperation(f.cx, f.pc(), &f.regs.sp[0]))
Value rval;
if (!NameOperation(f.cx, f.pc(), &rval))
THROW();
f.regs.sp[0] = rval;
}
void JS_FASTCALL