Index: pkg/compiler/lib/src/ssa/codegen.dart |
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart |
index 74cd875c5785c1c921595154168e576458ab170e..0ff32f29c1d3b3bbdb850f0c356cf454fb2787fd 100644 |
--- a/pkg/compiler/lib/src/ssa/codegen.dart |
+++ b/pkg/compiler/lib/src/ssa/codegen.dart |
@@ -29,11 +29,13 @@ import 'variable_allocator.dart'; |
class SsaCodeGeneratorTask extends CompilerTask { |
final JavaScriptBackend backend; |
+ final Compiler compiler; |
final SourceInformationStrategy sourceInformationFactory; |
SsaCodeGeneratorTask(JavaScriptBackend backend, this.sourceInformationFactory) |
: this.backend = backend, |
- super(backend.compiler); |
+ this.compiler = backend.compiler, |
+ super(backend.compiler.measurer); |
String get name => 'SSA code generator'; |
NativeEmitter get nativeEmitter => backend.emitter.nativeEmitter; |