Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/CallNode.java @ 15090:07e7aae05983
Truffle: context sensitive inlining cleanup
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 14 Apr 2014 18:25:23 +0200 |
parents | 448338c9ce96 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/CallNode.java Mon Apr 14 18:25:23 2014 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/CallNode.java Mon Apr 14 18:25:23 2014 +0200 @@ -88,6 +88,7 @@ /** * Enforces the runtime system to inline the {@link CallTarget} at this call site. If the * runtime system does not support inlining or it is already inlined this method has no effect. + * The runtime system may decide to not inline calls which were forced to inline. */ public abstract void forceInlining(); @@ -95,8 +96,8 @@ * Returns true if the runtime system has decided to inline this call-site. If the * {@link CallNode} was forced to inline then this does not necessarily mean that the * {@link CallNode} is really going to be inlined. This depends on whether or not the runtime - * system supports inlining or not. The runtime system may also decide to ignore calls to - * {@link #forceInlining()}. + * system supports inlining. The runtime system may also decide to not inline calls which were + * forced to inline. */ public abstract boolean isInlined();