Index: tests/compiler/dart2js/compiler_helper.dart |
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart |
index d97359fef52da95da2e673282e5e5c0cbee8364b..33b7576ee9bfe62a27ce31c1a3f781e13d96b179 100644 |
--- a/tests/compiler/dart2js/compiler_helper.dart |
+++ b/tests/compiler/dart2js/compiler_helper.dart |
@@ -13,6 +13,8 @@ import 'package:compiler/src/elements/elements.dart'; |
export 'package:compiler/src/elements/elements.dart'; |
import 'package:compiler/src/js_backend/js_backend.dart' as js; |
+import 'package:compiler/src/js_backend/element_strategy.dart' |
+ show ElementCodegenWorkItem; |
import 'package:compiler/src/commandline_options.dart'; |
import 'package:compiler/src/common/codegen.dart'; |
@@ -83,7 +85,7 @@ Future<String> compile(String code, |
resolutionWork.run(); |
ClosedWorld closedWorld = compiler.closeResolution().closedWorld; |
CodegenWorkItem work = |
- new CodegenWorkItem(compiler.backend, closedWorld, element); |
+ new ElementCodegenWorkItem(compiler.backend, closedWorld, element); |
compiler.phase = Compiler.PHASE_COMPILING; |
work.run(); |
js.JavaScriptBackend backend = compiler.backend; |