summaryrefslogtreecommitdiffstats
path: root/js/src/jit/mips-shared/Assembler-mips-shared.h
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:09 +0800
committerMoonchild <moonchild@palemoon.org>2020-05-20 14:01:38 +0000
commitb4f0be5e9537c6c202443b34f7bb3b99cb08be0f (patch)
treefdb3814586b392b26494cf309d75f093674e33c5 /js/src/jit/mips-shared/Assembler-mips-shared.h
parentac62e4cfdd03369d60e22f78b38b81f5f8daa5bd (diff)
downloadUXP-b4f0be5e9537c6c202443b34f7bb3b99cb08be0f.tar
UXP-b4f0be5e9537c6c202443b34f7bb3b99cb08be0f.tar.gz
UXP-b4f0be5e9537c6c202443b34f7bb3b99cb08be0f.tar.lz
UXP-b4f0be5e9537c6c202443b34f7bb3b99cb08be0f.tar.xz
UXP-b4f0be5e9537c6c202443b34f7bb3b99cb08be0f.zip
Bug 1271968 - IonMonkey: MIPS: Refactor PatchWrite_NearCall.
Tag: #1542
Diffstat (limited to 'js/src/jit/mips-shared/Assembler-mips-shared.h')
-rw-r--r--js/src/jit/mips-shared/Assembler-mips-shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jit/mips-shared/Assembler-mips-shared.h b/js/src/jit/mips-shared/Assembler-mips-shared.h
index 52e9051bb..3c01350e6 100644
--- a/js/src/jit/mips-shared/Assembler-mips-shared.h
+++ b/js/src/jit/mips-shared/Assembler-mips-shared.h
@@ -1282,8 +1282,10 @@ class AssemblerMIPSShared : public AssemblerShared
}
static uint32_t NopSize() { return 4; }
+ static uint32_t PatchWrite_NearCallSize();
static void PatchWrite_Imm32(CodeLocationLabel label, Imm32 imm);
+ static void PatchWrite_NearCall(CodeLocationLabel start, CodeLocationLabel toCall);
static uint32_t AlignDoubleArg(uint32_t offset) {
return (offset + 1U) &~ 1U;