aboutsummaryrefslogtreecommitdiff
path: root/src/ARMJIT_x64/ARMJIT_Compiler.h
diff options
context:
space:
mode:
authorRSDuck <RSDuck@users.noreply.github.com>2020-05-09 14:34:52 +0200
committerRSDuck <RSDuck@users.noreply.github.com>2020-05-09 14:34:52 +0200
commit5a0b568647ae3a0d501ca1b915745fe708c9519f (patch)
treedc8e5f7b002ced4980f03c9ebdabe86b99c01996 /src/ARMJIT_x64/ARMJIT_Compiler.h
parent0f53a34551d60964345debb1766f81ca4686eb17 (diff)
allow allocating caller saved registers
currently system-v only
Diffstat (limited to 'src/ARMJIT_x64/ARMJIT_Compiler.h')
-rw-r--r--src/ARMJIT_x64/ARMJIT_Compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ARMJIT_x64/ARMJIT_Compiler.h b/src/ARMJIT_x64/ARMJIT_Compiler.h
index 9df218b..f2fc301 100644
--- a/src/ARMJIT_x64/ARMJIT_Compiler.h
+++ b/src/ARMJIT_x64/ARMJIT_Compiler.h
@@ -168,6 +168,9 @@ public:
Gen::FixupBranch CheckCondition(u32 cond);
+ void PushRegs(bool saveHiRegs);
+ void PopRegs(bool saveHiRegs);
+
Gen::OpArg MapReg(int reg)
{
if (reg == 15 && RegCache.Mapping[reg] == Gen::INVALID_REG)