ificmpne to ificmpeq
This commit is contained in:
@@ -24,6 +24,10 @@ 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;
|
||||||
}
|
}
|
||||||
@@ -43,6 +47,10 @@ public class IfICmpNe extends If
|
|||||||
if (isZero(s1) || isZero(s2))
|
if (isZero(s1) || isZero(s2))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
else if (otherIc.getInstruction() instanceof IfICmpEq)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user