Index: pkg/compiler/lib/src/js_backend/codegen/task.dart |
diff --git a/pkg/compiler/lib/src/js_backend/codegen/task.dart b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
index 7c0d3eae7641fe682c5607444c601a509f6d6c3b..212178c2ceef741aabded8a8ebbd84d693dc8e50 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -134,7 +134,8 @@ class CpsFunctionCompiler implements FunctionCompiler { |
} |
cps.FunctionDefinition compileToCpsIr(AstElement element) { |
- cps.FunctionDefinition cpsFunction = cpsBuilderTask.buildNode(element); |
+ cps.FunctionDefinition cpsFunction = |
+ cpsBuilderTask.buildNode(element, typeSystem); |
if (cpsFunction == null) { |
if (cpsBuilderTask.bailoutMessage == null) { |
giveUp('unable to build cps definition of $element'); |