aboutsummaryrefslogtreecommitdiff
path: root/src/ARMJIT_RegCache.h
diff options
context:
space:
mode:
authorRSDuck <rsduck@users.noreply.github.com>2019-06-30 13:35:03 +0200
committerRSDuck <rsduck@users.noreply.github.com>2020-04-26 13:02:56 +0200
commit5f932cdf48681414465512fb47d619ad73414137 (patch)
tree233af2ee874ba03c51d1b66db600e02ffe019841 /src/ARMJIT_RegCache.h
parentff901141e77ad6c8d2910d77bef2b7c5674fcc7f (diff)
JIT: compilation of word load and store
Diffstat (limited to 'src/ARMJIT_RegCache.h')
-rw-r--r--src/ARMJIT_RegCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ARMJIT_RegCache.h b/src/ARMJIT_RegCache.h
index e18d50f..ea9fb30 100644
--- a/src/ARMJIT_RegCache.h
+++ b/src/ARMJIT_RegCache.h
@@ -30,7 +30,7 @@ public:
assert(Mapping[reg] != -1);
if (DirtyRegs & (1 << reg))
- Compiler->UnloadReg(reg, Mapping[reg]);
+ Compiler->SaveReg(reg, Mapping[reg]);
DirtyRegs &= ~(1 << reg);
LoadedRegs &= ~(1 << reg);