|
@@ -523,12 +523,6 @@ public class DefaultIRTreeToASMBytesPhase implements IRTreeVisitor<WriteScope> {
|
|
methodWriter.writeCast(irForEachSubArrayNode.getDecorationValue(IRDCast.class));
|
|
methodWriter.writeCast(irForEachSubArrayNode.getDecorationValue(IRDCast.class));
|
|
methodWriter.visitVarInsn(variable.getAsmType().getOpcode(Opcodes.ISTORE), variable.getSlot());
|
|
methodWriter.visitVarInsn(variable.getAsmType().getOpcode(Opcodes.ISTORE), variable.getSlot());
|
|
|
|
|
|
- Variable loop = writeScope.getInternalVariable("loop");
|
|
|
|
-
|
|
|
|
- if (loop != null) {
|
|
|
|
- methodWriter.writeLoopCounter(loop.getSlot(), irForEachSubArrayNode.getLocation());
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
visit(irForEachSubArrayNode.getBlockNode(), writeScope.newLoopScope(begin, end));
|
|
visit(irForEachSubArrayNode.getBlockNode(), writeScope.newLoopScope(begin, end));
|
|
|
|
|
|
methodWriter.goTo(begin);
|
|
methodWriter.goTo(begin);
|
|
@@ -574,12 +568,6 @@ public class DefaultIRTreeToASMBytesPhase implements IRTreeVisitor<WriteScope> {
|
|
methodWriter.writeCast(irForEachSubIterableNode.getDecorationValue(IRDCast.class));
|
|
methodWriter.writeCast(irForEachSubIterableNode.getDecorationValue(IRDCast.class));
|
|
methodWriter.visitVarInsn(variable.getAsmType().getOpcode(Opcodes.ISTORE), variable.getSlot());
|
|
methodWriter.visitVarInsn(variable.getAsmType().getOpcode(Opcodes.ISTORE), variable.getSlot());
|
|
|
|
|
|
- Variable loop = writeScope.getInternalVariable("loop");
|
|
|
|
-
|
|
|
|
- if (loop != null) {
|
|
|
|
- methodWriter.writeLoopCounter(loop.getSlot(), irForEachSubIterableNode.getLocation());
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
visit(irForEachSubIterableNode.getBlockNode(), writeScope.newLoopScope(begin, end));
|
|
visit(irForEachSubIterableNode.getBlockNode(), writeScope.newLoopScope(begin, end));
|
|
methodWriter.goTo(begin);
|
|
methodWriter.goTo(begin);
|
|
methodWriter.mark(end);
|
|
methodWriter.mark(end);
|