Bug 1198732 - IonMonkey: MIPS32: Fix calculate frame size in generateEnterJIT. r=nbp

This commit is contained in:
Heiher 2015-08-26 07:05:00 -04:00
parent 634e432196
commit 0848ea4df4

View File

@ -314,7 +314,7 @@ JitRuntime::generateEnterJIT(JSContext* cx, EnterJitType type)
// Pop arguments off the stack.
// s0 <- 8*argc (size of all arguments we pushed on the stack)
masm.pop(s0);
masm.rshiftPtr(Imm32(4), s0);
masm.rshiftPtr(Imm32(FRAMESIZE_SHIFT), s0);
masm.addPtr(s0, StackPointer);
// Store the returned value into the slotVp