Skip to content

Commit 1c80d67

Browse files
committed
Revert "in general all our nodes are instrumentable"
This reverts commit 46abd6e.
1 parent c46ed2f commit 1c80d67

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/PNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public boolean hasTag(Class<? extends Tag> tag) {
7373
}
7474

7575
public boolean isInstrumentable() {
76-
return true;
76+
return getSourceSection() != null;
7777
}
7878

7979
public void markAsRoot() {

0 commit comments

Comments
 (0)