comparison graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java @ 19047:173bdcc85ab8

Remove unused parameter "stub" from GraalCompiler.compileGraph
author Christian Wimmer <christian.wimmer@oracle.com>
date Fri, 30 Jan 2015 10:54:09 -0800
parents 862997951c0a
children 75da87c96605
comparison
equal deleted inserted replaced
19046:2358c0e65b9e 19047:173bdcc85ab8
719 */ 719 */
720 protected CompilationResult compile(ResolvedJavaMethod installedCodeOwner, StructuredGraph graph) { 720 protected CompilationResult compile(ResolvedJavaMethod installedCodeOwner, StructuredGraph graph) {
721 StructuredGraph graphToCompile = graph == null ? parseForCompile(installedCodeOwner) : graph; 721 StructuredGraph graphToCompile = graph == null ? parseForCompile(installedCodeOwner) : graph;
722 lastCompiledGraph = graphToCompile; 722 lastCompiledGraph = graphToCompile;
723 CallingConvention cc = getCallingConvention(getCodeCache(), Type.JavaCallee, graphToCompile.method(), false); 723 CallingConvention cc = getCallingConvention(getCodeCache(), Type.JavaCallee, graphToCompile.method(), false);
724 Request<CompilationResult> request = new Request<>(graphToCompile, null, cc, installedCodeOwner, getProviders(), getBackend(), getCodeCache().getTarget(), null, getDefaultGraphBuilderSuite(), 724 Request<CompilationResult> request = new Request<>(graphToCompile, cc, installedCodeOwner, getProviders(), getBackend(), getCodeCache().getTarget(), null, getDefaultGraphBuilderSuite(),
725 OptimisticOptimizations.ALL, getProfilingInfo(graphToCompile), getSpeculationLog(), getSuites(), new CompilationResult(), CompilationResultBuilderFactory.Default); 725 OptimisticOptimizations.ALL, getProfilingInfo(graphToCompile), getSpeculationLog(), getSuites(), new CompilationResult(), CompilationResultBuilderFactory.Default);
726 return GraalCompiler.compile(request); 726 return GraalCompiler.compile(request);
727 } 727 }
728 728
729 protected StructuredGraph lastCompiledGraph; 729 protected StructuredGraph lastCompiledGraph;