# HG changeset patch # User Christian Wirth # Date 1409242072 -7200 # Node ID 81eb0d77e9f98b01f610e942ec0b12bdd79f6caa # Parent 5a1d764f6afcac9f7e71ef653e0bdd6d3d941071 fix compilation issue; after a method is compiled (but not yet installed), it still needs to call the already compiled children. diff -r 5a1d764f6afc -r 81eb0d77e9f9 graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java --- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java Thu Aug 28 15:35:29 2014 +0200 +++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/OptimizedCallTarget.java Thu Aug 28 18:07:52 2014 +0200 @@ -333,6 +333,9 @@ 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);