diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-12 12:40:10 +0800 |
---|---|---|
committer | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-14 16:31:57 +0800 |
commit | b878a54a2f977bbc6761737284cc730a94643ae9 (patch) | |
tree | 46dbbdca0060a5805e1a2474f0189efcc9095a00 /js/src/jit/mips32 | |
parent | 2501df81955781747c4d35916fa4e17235c18b04 (diff) | |
download | uxp-b878a54a2f977bbc6761737284cc730a94643ae9.tar.gz |
Bug 1271968 - IonMonkey: MIPS: Refactor addMixedJump.
Tag: #1542
Diffstat (limited to 'js/src/jit/mips32')
-rw-r--r-- | js/src/jit/mips32/MacroAssembler-mips32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/mips32/MacroAssembler-mips32.cpp b/js/src/jit/mips32/MacroAssembler-mips32.cpp index 46e52f1328..b4a148d8f7 100644 --- a/js/src/jit/mips32/MacroAssembler-mips32.cpp +++ b/js/src/jit/mips32/MacroAssembler-mips32.cpp @@ -1498,7 +1498,7 @@ MacroAssemblerMIPSCompat::jumpWithPatch(RepatchLabel* label, Label* documentatio BufferOffset bo = nextOffset(); label->use(bo.getOffset()); if (label->bound()) - addMixedJump(bo, ImmPtr((void*)label->offset()), MixedJumpPatch::PATCHABLE); + addMixedJump(bo, label->offset(), MixedJumpPatch::PATCHABLE); as_j(JOffImm26(0)); as_nop(); return CodeOffsetJump(bo.getOffset()); |