diff --git a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/instrumentation/RInstrumentation.java b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/instrumentation/RInstrumentation.java
index 11255b7cc08a46132cc79e6e7a0cd08379a67502..d9fae439a708ce0ddecbb7c4bb4fb949e6a9d64f 100644
--- a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/instrumentation/RInstrumentation.java
+++ b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/instrumentation/RInstrumentation.java
@@ -54,7 +54,7 @@ public class RInstrumentation {
     }
 
     public static SourceSection getSourceSection(RFunction func) {
-        return getFunctionDefinitionNode(func).getSourceSection();
+        return func.getRootNode().getSourceSection();
     }
 
     /**