# HG changeset patch # User Josef Eisl # Date 1423575895 -3600 # Node ID ba6ce79ad29944166d8875c3412401e931694b3f # Parent 9f411d79ffc0be76df4c3ef5a0fa4b94d7c642d2 GraalCompilerTest: use DerivedOptionValue for lowLevelSuites. diff -r 9f411d79ffc0 -r ba6ce79ad299 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 Tue Feb 10 14:43:12 2015 +0100 +++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Tue Feb 10 14:44:55 2015 +0100 @@ -90,7 +90,7 @@ private final Providers providers; private final Backend backend; private final DerivedOptionValue suites; - private final LowLevelSuites lowLevelSuites; + private final DerivedOptionValue lowLevelSuites; /** * Can be overridden by unit tests to verify properties of the graph. @@ -175,7 +175,7 @@ this.backend = Graal.getRequiredCapability(RuntimeProvider.class).getHostBackend(); this.providers = getBackend().getProviders(); this.suites = new DerivedOptionValue<>(this::createSuites); - this.lowLevelSuites = createLowLevelSuites(); + this.lowLevelSuites = new DerivedOptionValue<>(this::createLowLevelSuites); installSubstitutions(); } @@ -196,7 +196,7 @@ } this.providers = backend.getProviders(); this.suites = new DerivedOptionValue<>(this::createSuites); - this.lowLevelSuites = createLowLevelSuites(); + this.lowLevelSuites = new DerivedOptionValue<>(this::createLowLevelSuites); installSubstitutions(); } @@ -365,7 +365,7 @@ } protected LowLevelSuites getLowLevelSuites() { - return lowLevelSuites; + return lowLevelSuites.getValue(); } protected Providers getProviders() {