Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: tests/compiler/dart2js/kernel/closed_world_test.dart

Issue 2935063002: Add ClosedWorld.elementEnvironment and remove Compiler.elementEnvironment (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d8464eaddbae02eec4cf1373afc16347c023c621..fc918140ea2ff01cc49c06a337cfbe8927de9bf9 100644
--- a/tests/compiler/dart2js/kernel/closed_world_test.dart
+++ b/tests/compiler/dart2js/kernel/closed_world_test.dart
@@ -112,8 +112,8 @@ main(List<String> args) {
const OpenWorldStrategy()),
new KernelTestWorkItemBuilder(compiler),
'enqueuer from kernel');
- ClosedWorld closedWorld = computeClosedWorld(
- compiler.reporter, enqueuer, compiler.elementEnvironment);
+ ClosedWorld closedWorld = computeClosedWorld(compiler.reporter, enqueuer,
+ compiler.frontendStrategy.elementEnvironment);
BackendUsage backendUsage = backendUsageBuilder.close();
checkResolutionEnqueuers(
backendUsage, backendUsage, compiler.enqueuer.resolution, enqueuer,
@@ -138,7 +138,7 @@ List createResolutionEnqueuerListener(Compiler compiler) {
InterceptorDataBuilder interceptorDataBuilder =
new InterceptorDataBuilderImpl(
backend.nativeBasicData,
- compiler.elementEnvironment,
+ compiler.frontendStrategy.elementEnvironment,
compiler.frontendStrategy.commonElements);
ResolutionEnqueuerListener listener = new ResolutionEnqueuerListener(
compiler.options,
« no previous file with comments | « tests/compiler/dart2js/kernel/closed_world2_test.dart ('k') | tests/compiler/dart2js/no_such_method_enabled_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698