We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bca573b commit 2d40a57Copy full SHA for 2d40a57
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/frame/ReadCallerFrameNode.java
@@ -162,6 +162,10 @@ public Frame visitFrame(FrameInstance frameInstance) {
162
// avoid overriding the location if we don't know it
163
if (callNode != null) {
164
info.setCallNode(callNode);
165
+ } else if (pRootNode.isInternal()) {
166
+ // builtin functions may call without a Truffle call node; in
167
+ // this case, we use the root node as location
168
+ info.setCallNode(pRootNode);
169
}
170
// We may never return a frame without location because then we
171
// cannot materialize it.
0 commit comments