mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 1128807 - IonMonkey: MIPS: Fix to keep mips compiling. r=rankov
This commit is contained in:
parent
d09f94c4b9
commit
34659e2cb1
@ -929,6 +929,13 @@ MacroAssemblerMIPS::ma_b(Address addr, Imm32 imm, Label *label, Condition c, Jum
|
||||
ma_b(SecondScratchReg, imm, label, c, jumpKind);
|
||||
}
|
||||
|
||||
void
|
||||
MacroAssemblerMIPS::ma_b(Address addr, ImmGCPtr imm, Label *label, Condition c, JumpKind jumpKind)
|
||||
{
|
||||
ma_lw(SecondScratchReg, addr);
|
||||
ma_b(SecondScratchReg, imm, label, c, jumpKind);
|
||||
}
|
||||
|
||||
void
|
||||
MacroAssemblerMIPS::ma_b(Label *label, JumpKind jumpKind)
|
||||
{
|
||||
|
@ -236,6 +236,7 @@ class MacroAssemblerMIPS : public Assembler
|
||||
}
|
||||
void ma_b(Register lhs, Address addr, Label *l, Condition c, JumpKind jumpKind = LongJump);
|
||||
void ma_b(Address addr, Imm32 imm, Label *l, Condition c, JumpKind jumpKind = LongJump);
|
||||
void ma_b(Address addr, ImmGCPtr imm, Label *l, Condition c, JumpKind jumpKind = LongJump);
|
||||
void ma_b(Address addr, Register rhs, Label *l, Condition c, JumpKind jumpKind = LongJump) {
|
||||
MOZ_ASSERT(rhs != ScratchRegister);
|
||||
ma_lw(ScratchRegister, addr);
|
||||
|
Loading…
Reference in New Issue
Block a user