diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-12 12:40:10 +0800 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 14:01:52 +0000 |
commit | 31ad2d12db7ebd94f79ed4c81f066f64721504f4 (patch) | |
tree | c40967f40f523c287c4455dfa45f6e7b63f29d1f /js/src/jit/mips64/MacroAssembler-mips64.cpp | |
parent | 494cfe32c9224ef5697b53288aaad0896c05b4b8 (diff) | |
download | UXP-31ad2d12db7ebd94f79ed4c81f066f64721504f4.tar UXP-31ad2d12db7ebd94f79ed4c81f066f64721504f4.tar.gz UXP-31ad2d12db7ebd94f79ed4c81f066f64721504f4.tar.lz UXP-31ad2d12db7ebd94f79ed4c81f066f64721504f4.tar.xz UXP-31ad2d12db7ebd94f79ed4c81f066f64721504f4.zip |
Bug 1271968 - IonMonkey: MIPS: Refactor addMixedJump.
Tag: #1542
Diffstat (limited to 'js/src/jit/mips64/MacroAssembler-mips64.cpp')
-rw-r--r-- | js/src/jit/mips64/MacroAssembler-mips64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/mips64/MacroAssembler-mips64.cpp b/js/src/jit/mips64/MacroAssembler-mips64.cpp index 79ad8ce4a..f1ccc0b38 100644 --- a/js/src/jit/mips64/MacroAssembler-mips64.cpp +++ b/js/src/jit/mips64/MacroAssembler-mips64.cpp @@ -1738,7 +1738,7 @@ MacroAssemblerMIPS64Compat::jumpWithPatch(RepatchLabel* label, Label* documentat 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()); |