Bug 1250370 - IonMonkey: MIPS: Fix stack alignment checking in EmitBaselineEnterStubFrame. r=nbp
authorHeiher <r@hev.cc>
Tue, 08 Mar 2016 14:45:19 +0800
changeset 314260 1d161d4e6cc58c8ab3c90b4b52eb28fe7020ca60
parent 314259 addd5fc00284182a0ce28d302535266d7ef6faea
child 314263 69448e1e7e45d1ae79da63b75c4d90b613f5adc4
push idunknown
push userunknown
push dateunknown
reviewersnbp
bugs1250370
milestone47.0a1
Bug 1250370 - IonMonkey: MIPS: Fix stack alignment checking in EmitBaselineEnterStubFrame. r=nbp --- js/src/jit/mips-shared/SharedICHelpers-mips-shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
js/src/jit/mips-shared/SharedICHelpers-mips-shared.h
--- a/js/src/jit/mips-shared/SharedICHelpers-mips-shared.h
+++ b/js/src/jit/mips-shared/SharedICHelpers-mips-shared.h
@@ -194,17 +194,17 @@ EmitBaselineEnterStubFrame(MacroAssemble
     // Save old frame pointer, stack pointer and stub reg.
     masm.storePtr(ICStubReg, Address(StackPointer,
                                            offsetof(BaselineStubFrame, savedStub)));
     masm.storePtr(BaselineFrameReg, Address(StackPointer,
                                             offsetof(BaselineStubFrame, savedFrame)));
     masm.movePtr(BaselineStackReg, BaselineFrameReg);
 
     // Stack should remain aligned.
-    masm.checkStackAlignment();
+    masm.assertStackAlignment(sizeof(Value), 0);
 }
 
 inline void
 EmitIonEnterStubFrame(MacroAssembler& masm, Register scratch)
 {
     MOZ_ASSERT(ICTailCallReg == ra);
 
     // In MIPS the ra register contains the return address,