Fix the arbitrary exits. We have to make sure that the block links are cleared entirely.

This commit is contained in:
Ryan Houdek 2014-02-15 20:41:42 -06:00
parent 0a9fd93eda
commit 77851edc1b
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}