Commit 59070c60 authored by Eric Bruneton's avatar Eric Bruneton

Restore bug fix, make previously added test pass.

parent 3208f107
Pipeline #776 passed with stage
in 6 minutes and 2 seconds
......@@ -961,16 +961,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
mv.visitJumpInsn(intOp, label);
return;
}
int jumpMode = mode;
switch (mode) {
case GE:
jumpMode = LT;
break;
case LE:
jumpMode = GT;
break;
}
mv.visitJumpInsn(jumpMode, label);
mv.visitJumpInsn(mode, label);
}
/**
......@@ -1177,7 +1168,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