I dont know why this runs forever.

This commit is contained in:
Adam
2016-02-07 21:03:20 -05:00
parent c4bf4f65df
commit 0662e74369
2 changed files with 4 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ public class MappingExecutorUtil
assert e.paused;
assert e2.paused;
System.out.println(p1.getInstruction() + " <-> " + p2.getInstruction());
//System.out.println(p1.getInstruction() + " <-> " + p2.getInstruction());
//assert p1.getInstruction().getInstructions().getCode().getAttributes().getMethod() == m1;
//assert p2.getInstruction().getInstructions().getCode().getAttributes().getMethod() == m2;

View File

@@ -180,7 +180,7 @@ public class ParallellMappingExecutor
if (oldf1.otherStatic == oldf2 && oldf2.otherStatic == oldf1)
{
mappings.map(oldf1.getMethod(), oldf2.getMethod());
System.out.println("hmmm");
System.out.println("STEP OUT " + oldf1.getMethod() + " <-> " + oldf2.getMethod());
}
// if (e.frames.size() - s1 != e2.frames.size() - s2)
@@ -352,8 +352,8 @@ public class ParallellMappingExecutor
f.other = null;
f2.returnTo = new Frame(f); // where to go when we're done
assert f.getInstructions().isEmpty() == false;
f2.returnTo.getInstructions().addAll(f.getInstructions());
assert f.getInstructions().isEmpty() == false; // this is wrong?
f2.returnTo.getInstructions().addAll(f.getInstructions()); // also wrong?
return f2;
}