diff options
| author | RSDuck <RSDuck@users.noreply.github.com> | 2020-05-09 14:34:52 +0200 |
|---|---|---|
| committer | RSDuck <RSDuck@users.noreply.github.com> | 2020-05-09 14:34:52 +0200 |
| commit | 5a0b568647ae3a0d501ca1b915745fe708c9519f (patch) | |
| tree | dc8e5f7b002ced4980f03c9ebdabe86b99c01996 /src/ARMJIT_x64/ARMJIT_Compiler.h | |
| parent | 0f53a34551d60964345debb1766f81ca4686eb17 (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.h | 3 |
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) |