mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
Bug 1198732 - IonMonkey: MIPS32: Fix calculate frame size in generateEnterJIT. r=nbp
This commit is contained in:
parent
634e432196
commit
0848ea4df4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user