mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1213165 - IonMonkey: MIPS32: Fix ion/bug901086.js failed. r=nbp f=rankov
--- js/src/jit/mips32/Trampoline-mips32.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
This commit is contained in:
parent
88dd3ce144
commit
af148bef3e
@ -210,6 +210,7 @@ JitRuntime::generateEnterJIT(JSContext* cx, EnterJitType type)
|
||||
regs.take(OsrFrameReg);
|
||||
regs.take(BaselineFrameReg);
|
||||
regs.take(reg_code);
|
||||
regs.take(ReturnReg);
|
||||
|
||||
const Address slotNumStackValues(BaselineFrameReg, sizeof(EnterJITRegs) +
|
||||
offsetof(EnterJITArgs, numStackValues));
|
||||
@ -265,10 +266,7 @@ JitRuntime::generateEnterJIT(JSContext* cx, EnterJitType type)
|
||||
masm.callWithABI(JS_FUNC_TO_DATA_PTR(void*, jit::InitBaselineFrameForOsr));
|
||||
|
||||
regs.add(OsrFrameReg);
|
||||
regs.add(scratch);
|
||||
regs.add(numStackValues);
|
||||
regs.take(JSReturnOperand);
|
||||
regs.take(ReturnReg);
|
||||
Register jitcode = regs.takeAny();
|
||||
masm.loadPtr(Address(StackPointer, 0), jitcode);
|
||||
masm.loadPtr(Address(StackPointer, sizeof(uintptr_t)), framePtr);
|
||||
|
Loading…
Reference in New Issue
Block a user