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 c293d5abe17b15d406139f44d4ed3d62c4e7e3be..69b13f3762337be4a826e3efe93e61243fbf78c0 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -68,9 +68,11 @@ class CpsFunctionCompiler implements FunctionCompiler { |
constantSystem = backend.constantSystem, |
compiler = compiler, |
glue = new Glue(compiler), |
- cpsOptimizationTask = new GenericTask('CPS optimization', compiler), |
- treeBuilderTask = new GenericTask('Tree builder', compiler), |
- treeOptimizationTask = new GenericTask('Tree optimization', compiler) { |
+ cpsOptimizationTask = |
+ new GenericTask('CPS optimization', compiler.measurer), |
+ treeBuilderTask = new GenericTask('Tree builder', compiler.measurer), |
+ treeOptimizationTask = |
+ new GenericTask('Tree optimization', compiler.measurer) { |
inliner = new Inliner(this); |
} |