File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/frame Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,15 +167,15 @@ 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 . isPythonInternal ()) {
170
+ } else {
171
171
// In some special cases we call without a Truffle call node; in
172
172
// this case, we use the root node as location (e.g. see
173
173
// AsyncHandler.processAsyncActions).
174
174
info .setCallNode (pRootNode );
175
175
}
176
176
// We may never return a frame without location because then we
177
177
// cannot materialize it.
178
- assert info .getCallNode () != null : "tried to read frame without location" ;
178
+ assert info .getCallNode () != null : "tried to read frame without location (root: " + pRootNode + ") " ;
179
179
return frame ;
180
180
}
181
181
i += 1 ;
You can’t perform that action at this time.
0 commit comments