summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorRyan Houdek <ryan.houdek@codethink.co.uk>2014-02-15 20:41:42 -0600
committerRyan Houdek <ryan.houdek@codethink.co.uk>2014-02-15 20:41:42 -0600
commit77851edc1b1ae96c30d42791ca296febe5fa2d2b (patch)
tree378adb92f6030f944b72b36f140011f3d23d1ee6 /Source
parent0a9fd93eda4bba67866cd2292af229ffaa44ad21 (diff)
Fix the arbitrary exits. We have to make sure that the block links are cleared entirely.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/PowerPC/JitCommon/JitCache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp
index f9171d927e..8fb7bd471b 100644
--- a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp
+++ b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp
@@ -165,6 +165,7 @@ using namespace Gen;
JitBlock &b = blocks[num_blocks];
b.invalid = false;
b.originalAddress = em_address;
+ b.linkData.clear();
num_blocks++; //commit the current block
return num_blocks - 1;
}