Mercurial > hg > graal-jvmci-8
changeset 19884:e1584086dc20
removed placeholder code
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 17 Mar 2015 13:45:05 +0100 |
parents | 6d142d351bf7 |
children | 1eea5182d102 |
files | graal/com.oracle.graal.graphbuilderconf/src/com/oracle/graal/graphbuilderconf/InvocationPlugin.java |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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) {