Mercurial > hg > graal-compiler
changeset 11818:793743715dc1
put Node.getEncapsulatedSourceSection() on slow path
author | Michael Haupt <michael.haupt@oracle.com> |
---|---|
date | Fri, 27 Sep 2013 16:39:54 +0200 |
parents | 4bae51f0c888 |
children | aeeab846e98c |
files | graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/Node.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/Node.java Fri Sep 27 12:36:29 2013 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/Node.java Fri Sep 27 16:39:54 2013 +0200 @@ -102,6 +102,7 @@ * * @return the assigned source code section */ + @CompilerDirectives.SlowPath public final SourceSection getEncapsulatingSourceSection() { if (sourceSection == null && getParent() != null) { return getParent().getEncapsulatingSourceSection();