changeset 16999:f8565347bb3b

Truffle: Revert: fix compilation issue; after a method is compiled (but not yet installed), it still needs to call the already compiled children.
author Christian Humer <christian.humer@gmail.com>
date Fri, 29 Aug 2014 13:48:04 +0200
parents e4cfc9ea2bd3
children e35a3af4f680
files graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java	Thu Aug 28 17:49:37 2014 -0700
+++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java	Fri Aug 29 13:48:04 2014 +0200
@@ -333,9 +333,6 @@
     public final Object callInlined(Object[] arguments) {
         if (CompilerDirectives.inInterpreter()) {
             compilationProfile.reportInlinedCall();
-            if (isValid()) {
-                return callDirect(arguments);
-            }
         }
         VirtualFrame frame = createFrame(getRootNode().getFrameDescriptor(), arguments);
         return callProxy(frame);