summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorFiora <fioraaeterna@gmail.com>2014-10-03 20:03:18 -0700
committerFiora <fioraaeterna@gmail.com>2014-10-03 20:08:27 -0700
commit17c56b58ab076cc8b94711b6efbbfed89b8162ca (patch)
tree65b8e70ed97327c569b67a469854d8443fdde25a /Source/Core
parent16d3604211fd9999eb07426f2ba69c51a46e8238 (diff)
JIT: set clear_cache_asap to false when clearing the cache
Would probably result in continual cache-clearing if the stack overflow code in the BLR optimizations triggers.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/Jit64/Jit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64/Jit.cpp b/Source/Core/Core/PowerPC/Jit64/Jit.cpp
index 5877073377..343390d3bf 100644
--- a/Source/Core/Core/PowerPC/Jit64/Jit.cpp
+++ b/Source/Core/Core/PowerPC/Jit64/Jit.cpp
@@ -223,6 +223,7 @@ void Jit64::ClearCache()
trampolines.ClearCodeSpace();
farcode.ClearCodeSpace();
ClearCodeSpace();
+ m_clear_cache_asap = false;
}
void Jit64::Shutdown()