# HG changeset patch # User Doug Simon # Date 1418289544 -3600 # Node ID 81a26fb13a9e06258c1ddc2b1edc8087c93fa712 # Parent 304b65422434e168d17d0b25629ce0a4d8a7a713 removed pluggable compiler support in GraalCompilerTest diff -r 304b65422434 -r 81a26fb13a9e graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java --- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Thu Dec 11 10:18:38 2014 +0100 +++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Thu Dec 11 10:19:04 2014 +0100 @@ -686,28 +686,7 @@ CallingConvention cc = getCallingConvention(getCodeCache(), Type.JavaCallee, graphToCompile.method(), false); Request request = new Request<>(graphToCompile, null, cc, installedCodeOwner, getProviders(), getBackend(), getCodeCache().getTarget(), null, getDefaultGraphBuilderSuite(), OptimisticOptimizations.ALL, getProfilingInfo(graphToCompile), getSpeculationLog(), getSuites(), new CompilationResult(), CompilationResultBuilderFactory.Default); - return compiler.compile(request); - } - - public static final Compiler DEFAULT_COMPILER = new Compiler(); - - private static Compiler compiler = DEFAULT_COMPILER; - - public static Compiler getCompiler() { - return compiler; - } - - public static void setCompiler(Compiler comp) { - compiler = comp; - } - - /** - * Pluggable compiler for servicing a compilation {@link Request}. - */ - public static class Compiler { - public T compile(Request request) { - return GraalCompiler.compile(request); - } + return GraalCompiler.compile(request); } protected StructuredGraph lastCompiledGraph;