mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[JAEGER] Tiny fix-ups.
This commit is contained in:
parent
dfa571f425
commit
43b26ccbf8
@ -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)));
|
||||
|
@ -2517,7 +2517,6 @@ stubs::ArgCnt(VMFrame &f)
|
||||
void JS_FASTCALL
|
||||
stubs::EnterBlock(VMFrame &f, JSObject *obj)
|
||||
{
|
||||
JSContext *cx = f.cx;
|
||||
JSFrameRegs ®s = 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());
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user