Skip to content

Commit 38da07f

Browse files
committed
removing PBytecodeDSLRootNode.getSource to instead use PBytecodeDSLRootNodeGen.getSource
1 parent 33f5e2a commit 38da07f

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/bytecode_dsl/PBytecodeDSLRootNode.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -950,14 +950,6 @@ public int getFirstLineno() {
950950
return co.startLine;
951951
}
952952

953-
public Source getSource() {
954-
SourceSection section = getSourceSection();
955-
if (section == null) {
956-
return PythonUtils.createFakeSource();
957-
}
958-
return section.getSource();
959-
}
960-
961953
@Override
962954
public abstract boolean isCaptureFramesForTrace(boolean compiledFrame);
963955

0 commit comments

Comments
 (0)