Bug 1128807 - IonMonkey: MIPS: Fix to keep mips compiling. r=rankov

This commit is contained in:
Heiher 2015-02-02 18:55:00 -05:00
parent d09f94c4b9
commit 34659e2cb1
2 changed files with 8 additions and 0 deletions

View File

@ -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)
{

View File

@ -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);