changeset 11207:810d0f574d06

Truffle: Do not cache graal graphs (not used at the moment).
author Andreas Woess <andreas.woess@jku.at>
date Mon, 05 Aug 2013 16:52:16 +0200
parents f6a66a518e8a
children bcfccdbae99a
files graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleCompilerImpl.java
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleCompilerImpl.java	Mon Aug 05 16:47:20 2013 +0200
+++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleCompilerImpl.java	Mon Aug 05 16:52:16 2013 +0200
@@ -36,7 +36,6 @@
 import com.oracle.graal.compiler.*;
 import com.oracle.graal.compiler.target.*;
 import com.oracle.graal.debug.*;
-import com.oracle.graal.graph.*;
 import com.oracle.graal.hotspot.*;
 import com.oracle.graal.java.*;
 import com.oracle.graal.nodes.*;
@@ -140,8 +139,6 @@
             }
         });
 
-        final Graph graphCopy = graph.copy();
-
         final CompilationResult result = Debug.scope("TruffleGraal", new Callable<CompilationResult>() {
 
             @Override
@@ -172,7 +169,7 @@
 
             @Override
             public InstalledCode call() throws Exception {
-                InstalledCode installedCode = runtime.addMethod(graph.method(), result, graphCopy);
+                InstalledCode installedCode = runtime.addMethod(graph.method(), result);
                 if (installedCode != null) {
                     Debug.dump(new Object[]{result, installedCode}, "After code installation");
                 }