зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1128820 - IonMonkey: MIPS: Fix checkStackAlignment break code conflict with call c++ tag. r=rankov
This commit is contained in:
Родитель
34659e2cb1
Коммит
fc3472190e
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче