Mercurial > hg > truffle
diff graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java @ 10019:6e4b72bcc97f
Remove graph from HotSpotNMethod
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Thu, 13 Jun 2013 11:25:07 +0200 |
parents | b8b4d7f3e4aa |
children | 85f926430ae6 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Wed Jun 12 10:12:46 2013 +0200 +++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Thu Jun 13 11:25:07 2013 +0200 @@ -429,7 +429,6 @@ } long start = System.currentTimeMillis(); PhasePlan phasePlan = new PhasePlan(); - final StructuredGraph graphCopy = graph.copy(); GraphBuilderPhase graphBuilderPhase = new GraphBuilderPhase(runtime, GraphBuilderConfiguration.getDefault(), OptimisticOptimizations.ALL); phasePlan.addPhase(PhasePosition.AFTER_PARSING, graphBuilderPhase); editPhasePlan(method, graph, phasePlan); @@ -443,7 +442,7 @@ @Override public InstalledCode call() throws Exception { - InstalledCode code = addMethod(method, compResult, graphCopy); + InstalledCode code = addMethod(method, compResult); if (Debug.isDumpEnabled()) { Debug.dump(new Object[]{compResult, code}, "After code installation"); } @@ -460,8 +459,8 @@ return installedCode; } - protected InstalledCode addMethod(final ResolvedJavaMethod method, final CompilationResult compResult, final StructuredGraph graph) { - return runtime.addMethod(method, compResult, graph); + protected InstalledCode addMethod(final ResolvedJavaMethod method, final CompilationResult compResult) { + return runtime.addMethod(method, compResult); } /**