File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/frame Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -167,9 +167,10 @@ public Frame visitFrame(FrameInstance frameInstance) {
167
167
// avoid overriding the location if we don't know it
168
168
if (callNode != null ) {
169
169
info .setCallNode (callNode );
170
- } else if (pRootNode .isInternal ()) {
171
- // builtin functions may call without a Truffle call node; in
172
- // this case, we use the root node as location
170
+ } else if (pRootNode .isPythonInternal ()) {
171
+ // In some special cases we call without a Truffle call node; in
172
+ // this case, we use the root node as location (e.g. see
173
+ // AsyncHandler.processAsyncActions).
173
174
info .setCallNode (pRootNode );
174
175
}
175
176
// We may never return a frame without location because then we
You can’t perform that action at this time.
0 commit comments