changeset 19412:a9ff83864e8c

rename: tryUsingInvocationPlugin -> tryInvocationPlugin
author Doug Simon <doug.simon@oracle.com>
date Mon, 16 Feb 2015 15:11:06 +0100
parents 7d924ac67522
children 91ffbc349e91
files graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java	Mon Feb 16 14:32:53 2015 +0100
+++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java	Mon Feb 16 15:11:06 2015 +0100
@@ -859,7 +859,7 @@
                     }
                 }
 
-                if (tryUsingInvocationPlugin(args, targetMethod, resultType)) {
+                if (tryInvocationPlugin(args, targetMethod, resultType)) {
                     if (GraalOptions.TraceInlineDuringParsing.getValue()) {
                         for (int i = 0; i < this.currentDepth; ++i) {
                             TTY.print(' ');
@@ -887,7 +887,7 @@
                 }
             }
 
-            private boolean tryUsingInvocationPlugin(ValueNode[] args, ResolvedJavaMethod targetMethod, Kind resultType) {
+            private boolean tryInvocationPlugin(ValueNode[] args, ResolvedJavaMethod targetMethod, Kind resultType) {
                 InvocationPlugin plugin = graphBuilderConfig.getInvocationPlugins().lookupInvocation(targetMethod);
                 if (plugin != null) {
                     int beforeStackSize = frameState.stackSize;
@@ -935,8 +935,6 @@
                         plugin.postInline(inlinedMethod);
                     }
                     return true;
-                } else {
-                    System.out.println("Could not inline invoke " + targetMethod.format("%H.%n(%p)"));
                 }
 
                 return false;