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

Unified Diff: tests/compiler/dart2js/compiler_helper.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
« no previous file with comments | « pkg/compiler/tool/perf.dart ('k') | tests/compiler/dart2js/dill_loader_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/compiler_helper.dart
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
index 33b7576ee9bfe62a27ce31c1a3f781e13d96b179..5cae2250f1bb3ee93eee46c0d6b3af9c96f38eb7 100644
--- a/tests/compiler/dart2js/compiler_helper.dart
+++ b/tests/compiler/dart2js/compiler_helper.dart
@@ -78,7 +78,10 @@ Future<String> compile(String code,
MethodElement element = mainApp.find(entry);
if (element == null) return null;
compiler.phase = Compiler.PHASE_RESOLVING;
- compiler.processQueue(compiler.enqueuer.resolution, element,
+ compiler.processQueue(
+ compiler.frontendStrategy.elementEnvironment,
+ compiler.enqueuer.resolution,
+ element,
compiler.libraryLoader.libraries);
ResolutionWorkItem resolutionWork =
new ResolutionWorkItem(compiler.resolution, element);
« no previous file with comments | « pkg/compiler/tool/perf.dart ('k') | tests/compiler/dart2js/dill_loader_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698