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 287192 1d161d4e6cc58c8ab3c90b4b52eb28fe7020ca60
parent 287191 addd5fc00284182a0ce28d302535266d7ef6faea
child 287193 69448e1e7e45d1ae79da63b75c4d90b613f5adc4
push id30065
push userkwierso@gmail.com
push dateWed, 09 Mar 2016 00:01:05 +0000
treeherdermozilla-central@886b5480b578 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp
bugs1250370
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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,