From 31ad2d12db7ebd94f79ed4c81f066f64721504f4 Mon Sep 17 00:00:00 2001 From: Jiaxun Yang Date: Tue, 12 May 2020 12:40:10 +0800 Subject: Bug 1271968 - IonMonkey: MIPS: Refactor addMixedJump. Tag: #1542 --- js/src/jit/mips64/MacroAssembler-mips64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src/jit/mips64') 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()); -- cgit v1.2.3