Commit 66aa9771 authored by Eric Bruneton's avatar Eric Bruneton

Revert bug fix.

parent ebecadf1
......@@ -961,7 +961,16 @@ public class GeneratorAdapter extends LocalVariablesSorter {
mv.visitJumpInsn(intOp, label);
return;
}
mv.visitJumpInsn(mode, label);
int jumpMode = mode;
switch (mode) {
case GE:
jumpMode = LT;
break;
case LE:
jumpMode = GT;
break;
}
mv.visitJumpInsn(jumpMode, label);
}
/**
......@@ -1168,7 +1177,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
* @param opcode the instruction's opcode.
* @param type the class in which the method is defined.
* @param method the method to be invoked.
* @param itf whether the 'type' class is an interface or not.
* @param itf whether the 'type' class is an interface or not.
*/
private void invokeInsn(
final int opcode, final Type type, final Method method, final boolean itf) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment