Skip to content

Commit 57d4992

Browse files
author
Franziska Geiger
committed
Revert loop node execute method change
1 parent 48c6b53 commit 57d4992

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/control/ForNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public void executeVoid(VirtualFrame frame) {
185185
}
186186
frame.setObject(iteratorSlot, iterator.execute(frame));
187187
try {
188-
loopNode.executeLoop(frame);
188+
loopNode.execute(frame);
189189
} finally {
190190
frame.setObject(iteratorSlot, null);
191191
}

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/control/WhileNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ public CastToBooleanNode getCondition() {
8181

8282
@Override
8383
public void executeVoid(VirtualFrame frame) {
84-
loopNode.executeLoop(frame);
84+
loopNode.execute(frame);
8585
}
8686
}

0 commit comments

Comments
 (0)