Mercurial > hg > truffle
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/DirectCallNode.java @ 17400:e3dd05527c2f
Truffle: enabled context sensitive inlining by default. removed old inlining structures.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Thu, 09 Oct 2014 17:25:24 +0200 |
parents | 40d0022115ee |
children | ab62800259ff |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/DirectCallNode.java Thu Oct 09 17:25:18 2014 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/DirectCallNode.java Thu Oct 09 17:25:24 2014 +0200 @@ -101,8 +101,14 @@ * {@link DirectCallNode} is really going to be inlined. This depends on whether or not the * runtime system supports inlining. The runtime system may also decide to not inline calls * which were forced to inline. + * + * @deprecated we do not expose this information any longer. returns always false. */ - public abstract boolean isInlined(); + @SuppressWarnings("static-method") + @Deprecated + public final boolean isInlined() { + return false; + } /** * Returns <code>true</code> if this {@link DirectCallNode} can be split. A