Fix previous commit

This commit is contained in:
Adam
2016-01-30 13:52:35 -05:00
parent f96f9b6c02
commit 234e42a319

View File

@@ -24,10 +24,6 @@ public class IfICmpNe extends If
if (o instanceof Integer && (int) o == 0) if (o instanceof Integer && (int) o == 0)
return true; return true;
} }
else if (s.getPushed().getInstruction() instanceof IfICmpEq)
{
return true;
}
return false; return false;
} }
@@ -58,7 +54,7 @@ public class IfICmpNe extends If
@Override @Override
public void map(ParallelExecutorMapping mapping, InstructionContext ctx, InstructionContext other) public void map(ParallelExecutorMapping mapping, InstructionContext ctx, InstructionContext other)
{ {
if (other.getInstruction() instanceof IfEq) if (other.getInstruction() instanceof IfEq || other.getInstruction() instanceof IfICmpEq)
{ {
super.mapOtherBranch(mapping, ctx, other); super.mapOtherBranch(mapping, ctx, other);
} }