File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/control Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -185,10 +185,7 @@ public void executeVoid(VirtualFrame frame) {
185
185
}
186
186
frame .setObject (iteratorSlot , iterator .execute (frame ));
187
187
try {
188
- if (((ForRepeatingNode ) loopNode .getRepeatingNode ()).executeRepeating (frame )) {
189
- // manually peel the first iteration
190
- loopNode .executeLoop (frame );
191
- }
188
+ loopNode .executeLoop (frame );
192
189
} finally {
193
190
frame .setObject (iteratorSlot , null );
194
191
}
Original file line number Diff line number Diff line change @@ -81,9 +81,6 @@ public CastToBooleanNode getCondition() {
81
81
82
82
@ Override
83
83
public void executeVoid (VirtualFrame frame ) {
84
- if (((WhileRepeatingNode ) loopNode .getRepeatingNode ()).executeRepeating (frame )) {
85
- // manually peel the first iteration
86
- loopNode .executeLoop (frame );
87
- }
84
+ loopNode .executeLoop (frame );
88
85
}
89
86
}
You can’t perform that action at this time.
0 commit comments