Mercurial > hg > truffle
changeset 8377:40eaf9970bff
removed unused code
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 19 Mar 2013 15:58:01 +0100 |
parents | e947c5d9f2f3 |
children | 2543392b9197 |
files | graal/com.oracle.graal.snippets/src/com/oracle/graal/snippets/SnippetInstaller.java |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.snippets/src/com/oracle/graal/snippets/SnippetInstaller.java Tue Mar 19 15:52:21 2013 +0100 +++ b/graal/com.oracle.graal.snippets/src/com/oracle/graal/snippets/SnippetInstaller.java Tue Mar 19 15:58:01 2013 +0100 @@ -160,15 +160,10 @@ original = runtime.lookupJavaConstructor((Constructor) originalMethod); } try { - Debug.log("inlinable substitution: " + MetaUtil.format("%H.%n(%p)", original) + " --> " + MetaUtil.format("%H.%n(%p)", substitute)); + Debug.log("substitution: " + MetaUtil.format("%H.%n(%p)", original) + " --> " + MetaUtil.format("%H.%n(%p)", substitute)); StructuredGraph graph = makeGraph(substitute, inliningPolicy(substitute)); Object oldValue = original.getCompilerStorage().put(Graph.class, graph); assert oldValue == null; - - Debug.log("compilable substitution: " + MetaUtil.format("%H.%n(%p)", original) + " --> " + MetaUtil.format("%H.%n(%p)", substitute)); - graph = makeGraph(substitute, inliningPolicy(substitute)); - oldValue = original.getCompilerStorage().put(MethodSubstitution.class, graph); - assert oldValue == null; } finally { substitute = null; original = null;