Index: tests/compiler/dart2js/compiler_helper.dart |
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart |
index 8953792052dcca23f046fd0c79d54a3aac125a55..e139a0eedc412a979260f2c49ac1f11fd8779450 100644 |
--- a/tests/compiler/dart2js/compiler_helper.dart |
+++ b/tests/compiler/dart2js/compiler_helper.dart |
@@ -75,7 +75,7 @@ Future<String> compile(String code, |
new leg.ResolutionWorkItem(element, context); |
resolutionWork.run(compiler, compiler.enqueuer.resolution); |
leg.CodegenWorkItem work = |
- new leg.CodegenWorkItem(element, context); |
+ new leg.CodegenWorkItem(compiler, element, context); |
compiler.phase = Compiler.PHASE_COMPILING; |
work.run(compiler, compiler.enqueuer.codegen); |
js.JavaScriptBackend backend = compiler.backend; |