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 dd983472188e9c7b40ff60b78b7fb6d75e2eeb53..8e4b3a9459ebc5c1ccefcdef55fc669e53a47ab3 100644 |
--- a/tests/compiler/dart2js/kernel/closed_world_test.dart |
+++ b/tests/compiler/dart2js/kernel/closed_world_test.dart |
@@ -77,9 +77,7 @@ main(List<String> args) { |
Flags.useKernel, |
Flags.enableAssertMessage |
]); |
- ElementResolutionWorldBuilder worldBuilder = |
- compiler.enqueuer.resolution.worldBuilder; |
- worldBuilder.useInstantiationMap = true; |
+ ElementResolutionWorldBuilder.useInstantiationMap = true; |
compiler.resolution.retainCachesForTesting = true; |
await compiler.run(entryPoint); |
compiler.resolutionWorldBuilder.closeWorld(compiler.reporter); |