Bug 840162 - Add subPtr for registers to ARM masm. r=mjrosenb

This commit is contained in:
Kannan Vijayan 2013-02-12 13:21:48 -05:00
parent bb0d458554
commit dbafe5f382
2 changed files with 7 additions and 0 deletions

View File

@ -2001,6 +2001,12 @@ MacroAssemblerARMCompat::subPtr(const Address &addr, const Register dest)
ma_sub(ScratchRegister, dest);
}
void
MacroAssemblerARMCompat::subPtr(const Register &src, const Register &dest)
{
ma_sub(src, dest);
}
void
MacroAssemblerARMCompat::addPtr(Imm32 imm, const Register dest)
{

View File

@ -1042,6 +1042,7 @@ class MacroAssemblerARMCompat : public MacroAssemblerARM
void subPtr(Imm32 imm, const Register dest);
void subPtr(const Address &addr, const Register dest);
void subPtr(const Register &src, const Register &dest);
void addPtr(Imm32 imm, const Register dest);
void addPtr(Imm32 imm, const Address &dest);
void addPtr(ImmWord imm, const Register dest) {