summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorFiora <fioraaeterna@gmail.com>2014-11-04 02:04:30 -0800
committerFiora <fioraaeterna@gmail.com>2014-11-04 02:04:30 -0800
commitf8880c0284b6c255cd744d999f421ab80dc8490e (patch)
tree866739307458690db80cc1ee0af65bf82aa44c61 /Source
parent9cba7878718d7184b53f0f453b016f20ccbe7a1f (diff)
JIT: fix typo in optimization patch
Whoops... made us flush everything on every branch.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp
index 68ae3e3ce5..0914f14d13 100644
--- a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp
+++ b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp
@@ -162,7 +162,7 @@ void Jit64::ComputeRC(const Gen::OpArg & arg, bool needs_test, bool needs_sext)
// better to flush it here so that we don't have to flush it on both sides of the branch.
// We don't want to do this if a test is needed though, because it would interrupt macro-op
// fusion.
- for (int j : js.op->gprInUse)
+ for (int j : ~js.op->gprInUse)
gpr.StoreFromRegister(j);
}
DoMergedBranchCondition();