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); |