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:
Heiher 2015-10-13 17:15:57 +08:00
parent 88dd3ce144
commit af148bef3e

View File

@ -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);