From 17c56b58ab076cc8b94711b6efbbfed89b8162ca Mon Sep 17 00:00:00 2001 From: Fiora Date: Fri, 3 Oct 2014 20:03:18 -0700 Subject: [PATCH] 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. --- Source/Core/Core/PowerPC/Jit64/Jit.cpp | 1 + 1 file changed, 1 insertion(+) 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()