зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1598289 - MacroAssembler::cmp32LoadPtr not defined on mips{32|64}. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D54127 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
db8f1802f1
Коммит
82e6d98832
|
@ -1668,7 +1668,7 @@ class MacroAssembler : public MacroAssemblerSpecific {
|
|||
|
||||
inline void cmp32LoadPtr(Condition cond, const Address& lhs, Imm32 rhs,
|
||||
const Address& src, Register dest)
|
||||
DEFINED_ON(arm, arm64, x86, x64);
|
||||
DEFINED_ON(arm, arm64, mips_shared, x86, x64);
|
||||
|
||||
inline void cmp32MovePtr(Condition cond, Register lhs, Imm32 rhs,
|
||||
Register src, Register dest)
|
||||
|
|
|
@ -859,6 +859,14 @@ void MacroAssembler::cmp32Load32(Condition cond, Register lhs, Register rhs,
|
|||
bind(&skip);
|
||||
}
|
||||
|
||||
void MacroAssembler::cmp32LoadPtr(Condition cond, const Address& lhs, Imm32 rhs,
|
||||
const Address& src, Register dest) {
|
||||
Label skip;
|
||||
branch32(Assembler::InvertCondition(cond), lhs, rhs, &skip);
|
||||
loadPtr(src, dest);
|
||||
bind(&skip);
|
||||
}
|
||||
|
||||
void MacroAssembler::test32LoadPtr(Condition cond, const Address& addr,
|
||||
Imm32 mask, const Address& src,
|
||||
Register dest) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче