Index: tests/compiler/dart2js/kernel/closed_world_test.dart |
diff --git a/tests/compiler/dart2js/kernel/closed_world_test.dart b/tests/compiler/dart2js/kernel/closed_world_test.dart |
index 27ad47334f3a17f3f015a8544a3566b0c4e40939..d8464eaddbae02eec4cf1373afc16347c023c621 100644 |
--- a/tests/compiler/dart2js/kernel/closed_world_test.dart |
+++ b/tests/compiler/dart2js/kernel/closed_world_test.dart |
@@ -134,14 +134,16 @@ main(List<String> args) { |
List createResolutionEnqueuerListener(Compiler compiler) { |
JavaScriptBackend backend = compiler.backend; |
BackendUsageBuilder backendUsageBuilder = |
- new BackendUsageBuilderImpl(compiler.commonElements); |
+ new BackendUsageBuilderImpl(compiler.frontendStrategy.commonElements); |
InterceptorDataBuilder interceptorDataBuilder = |
- new InterceptorDataBuilderImpl(backend.nativeBasicData, |
- compiler.elementEnvironment, compiler.commonElements); |
+ new InterceptorDataBuilderImpl( |
+ backend.nativeBasicData, |
+ compiler.elementEnvironment, |
+ compiler.frontendStrategy.commonElements); |
ResolutionEnqueuerListener listener = new ResolutionEnqueuerListener( |
compiler.options, |
- compiler.elementEnvironment, |
- compiler.commonElements, |
+ compiler.frontendStrategy.elementEnvironment, |
+ compiler.frontendStrategy.commonElements, |
backend.impacts, |
backend.nativeBasicData, |
interceptorDataBuilder, |
@@ -153,7 +155,9 @@ List createResolutionEnqueuerListener(Compiler compiler) { |
backend.lookupMapResolutionAnalysis, |
backend.mirrorsResolutionAnalysis, |
new TypeVariableResolutionAnalysis( |
- compiler.elementEnvironment, backend.impacts, backendUsageBuilder), |
+ compiler.frontendStrategy.elementEnvironment, |
+ backend.impacts, |
+ backendUsageBuilder), |
backend.nativeResolutionEnqueuerForTesting, |
compiler.deferredLoadTask, |
backend.kernelTask); |