Bug 1128820 - IonMonkey: MIPS: Fix checkStackAlignment break code conflict with call c++ tag. r=rankov

This commit is contained in:
Heiher 2015-02-03 05:15:00 -05:00
parent 34659e2cb1
commit fc3472190e
2 changed files with 2 additions and 1 deletions

View File

@ -244,6 +244,7 @@ static const uint32_t SAMask = ((1 << SABits) - 1) << SAShift;
static const uint32_t FunctionMask = ((1 << FunctionBits) - 1) << FunctionShift;
static const uint32_t RegMask = Registers::Total - 1;
static const uint32_t BREAK_STACK_UNALIGNED = 1;
static const uint32_t MAX_BREAK_CODE = 1024 - 1;
class Instruction;

View File

@ -3355,7 +3355,7 @@ MacroAssemblerMIPSCompat::checkStackAlignment()
Label aligned;
as_andi(ScratchRegister, sp, ABIStackAlignment - 1);
ma_b(ScratchRegister, zero, &aligned, Equal, ShortJump);
as_break(MAX_BREAK_CODE);
as_break(BREAK_STACK_UNALIGNED);
bind(&aligned);
#endif
}