# HG changeset patch # User Doug Simon # Date 1426596305 -3600 # Node ID e1584086dc20318226f6f1e20ec4432f4b81fc2d # Parent 6d142d351bf7b449dbbab56d2a4ff9ca6a7edfef removed placeholder code diff -r 6d142d351bf7 -r e1584086dc20 graal/com.oracle.graal.graphbuilderconf/src/com/oracle/graal/graphbuilderconf/InvocationPlugin.java --- a/graal/com.oracle.graal.graphbuilderconf/src/com/oracle/graal/graphbuilderconf/InvocationPlugin.java Tue Mar 17 12:49:45 2015 +0100 +++ b/graal/com.oracle.graal.graphbuilderconf/src/com/oracle/graal/graphbuilderconf/InvocationPlugin.java Tue Mar 17 13:45:05 2015 +0100 @@ -79,8 +79,6 @@ return null; } - boolean ALLOW_INVOCATION_PLUGIN_TO_DO_INLINING = false; - /** * Executes a given plugin against a set of invocation arguments by dispatching to the * {@code apply(...)} method that matches the number of arguments. @@ -92,12 +90,6 @@ * invocation must not modify the graph being constructed. */ static boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin plugin, ValueNode[] args) { -// if (ALLOW_INVOCATION_PLUGIN_TO_DO_INLINING) { -// ResolvedJavaMethod subst = plugin.getSubstitute(); -// if (subst != null) { -// return ((BytecodeParser) b).inline(null, targetMethod, new InlineInfo(subst, false), args); -// } -// } if (args.length == 0) { return plugin.apply(b, targetMethod); } else if (args.length == 1) {