diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-12 12:40:13 +0800 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 14:02:56 +0000 |
commit | a34d02924c825b17af0fd505d8fdb890d5ae5dc1 (patch) | |
tree | 18fe10f34b5275ac14820b2edc93e21e70fdb893 /js/src/jit/mips-shared/MacroAssembler-mips-shared.h | |
parent | 084ea153c12cc76674964003d74dbe69ea989e8f (diff) | |
download | UXP-a34d02924c825b17af0fd505d8fdb890d5ae5dc1.tar UXP-a34d02924c825b17af0fd505d8fdb890d5ae5dc1.tar.gz UXP-a34d02924c825b17af0fd505d8fdb890d5ae5dc1.tar.lz UXP-a34d02924c825b17af0fd505d8fdb890d5ae5dc1.tar.xz UXP-a34d02924c825b17af0fd505d8fdb890d5ae5dc1.zip |
Bug 1441521 : [MIPS] Optimize comparation with small constants
Tag: #1542
Diffstat (limited to 'js/src/jit/mips-shared/MacroAssembler-mips-shared.h')
-rw-r--r-- | js/src/jit/mips-shared/MacroAssembler-mips-shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/jit/mips-shared/MacroAssembler-mips-shared.h b/js/src/jit/mips-shared/MacroAssembler-mips-shared.h index 304610991..cd75b2e37 100644 --- a/js/src/jit/mips-shared/MacroAssembler-mips-shared.h +++ b/js/src/jit/mips-shared/MacroAssembler-mips-shared.h @@ -54,6 +54,7 @@ class MacroAssemblerMIPSShared : public Assembler const MacroAssembler& asMasm() const; Condition ma_cmp(Register rd, Register lhs, Register rhs, Condition c); + Condition ma_cmp(Register rd, Register lhs, Imm32 imm, Condition c); void compareFloatingPoint(FloatFormat fmt, FloatRegister lhs, FloatRegister rhs, DoubleCondition c, FloatTestKind* testKind, |