Fix constant parameter corrupting instructions. Make unused blocks faster.

This commit is contained in:
Adam
2015-08-06 18:59:23 -04:00
parent ba4f23ffbd
commit 95368f61a8
4 changed files with 57 additions and 36 deletions

View File

@@ -189,6 +189,8 @@ public class Frame
public void jump(Instruction to)
{
assert to != null;
assert to.getInstructions() == method.getCode().getInstructions();
assert method.getCode().getInstructions().getInstructions().contains(to);
if (hasJumped(cur, to))
{