[JAEGER] Tiny fix-ups.

This commit is contained in:
David Anderson 2010-06-09 01:46:07 -07:00
parent dfa571f425
commit 43b26ccbf8
2 changed files with 2 additions and 1 deletions

View File

@ -910,6 +910,7 @@ mjit::Compiler::generateMethod()
BEGIN_CASE(JSOP_EXCEPTION)
{
JS_STATIC_ASSERT(sizeof(cx->throwing) == 4);
RegisterID reg = frame.allocReg();
masm.loadPtr(FrameAddress(offsetof(VMFrame, cx)), reg);
masm.store32(Imm32(JS_FALSE), Address(reg, offsetof(JSContext, throwing)));

View File

@ -2517,7 +2517,6 @@ stubs::ArgCnt(VMFrame &f)
void JS_FASTCALL
stubs::EnterBlock(VMFrame &f, JSObject *obj)
{
JSContext *cx = f.cx;
JSFrameRegs &regs = f.regs;
JSStackFrame *fp = f.fp;
@ -2530,6 +2529,7 @@ stubs::EnterBlock(VMFrame &f, JSObject *obj)
regs.sp = vp;
#ifdef DEBUG
JSContext *cx = f.cx;
JS_ASSERT(fp->blockChain == obj->getParent());
/*