Skip to content

Commit ad3561f

Browse files
author
Adam Hrbac
committed
use TruffleSafepoint.poll again
1 parent f2cdb1c commit ad3561f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@
203203
import com.oracle.truffle.api.HostCompilerDirectives.InliningCutoff;
204204
import com.oracle.truffle.api.Truffle;
205205
import com.oracle.truffle.api.TruffleLanguage;
206+
import com.oracle.truffle.api.TruffleSafepoint;
206207
import com.oracle.truffle.api.exception.AbstractTruffleException;
207208
import com.oracle.truffle.api.frame.Frame;
208209
import com.oracle.truffle.api.frame.FrameDescriptor;
@@ -1882,7 +1883,7 @@ private Object bytecodeLoop(VirtualFrame virtualFrame, Frame localFrame, Bytecod
18821883
}
18831884
}
18841885
}
1885-
PythonContext.triggerAsyncActions(this);
1886+
TruffleSafepoint.poll(this);
18861887
oparg = 0;
18871888
continue;
18881889
}

0 commit comments

Comments
 (0)