Skip to content

Commit 8e34c1b

Browse files
committed
Address pollOSRBackEdge() deprecation
* PythonContext.triggerAsyncActions(this) is done below so the change about the new signature not polling seems OK.
1 parent baefb52 commit 8e34c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/bytecode/PBytecodeRootNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,7 @@ private Object bytecodeLoop(VirtualFrame virtualFrame, Frame localFrame, Bytecod
20462046
if (!useCachedNodes) {
20472047
return new InterpreterContinuation(bci, stackTop);
20482048
}
2049-
if (BytecodeOSRNode.pollOSRBackEdge(osrNode)) {
2049+
if (BytecodeOSRNode.pollOSRBackEdge(osrNode, 1)) {
20502050
/*
20512051
* Beware of race conditions when adding more things to the
20522052
* interpreterState argument. It gets stored already at this point,

0 commit comments

Comments
 (0)