| Index: pkg/compiler/lib/src/tracer.dart
|
| diff --git a/pkg/compiler/lib/src/tracer.dart b/pkg/compiler/lib/src/tracer.dart
|
| index ad0b47adc1b613533560e2d76d16eed563178209..cdebb1cc61aaadd487444e6e623df33b00e7abc4 100644
|
| --- a/pkg/compiler/lib/src/tracer.dart
|
| +++ b/pkg/compiler/lib/src/tracer.dart
|
| @@ -5,7 +5,6 @@
|
| library tracer;
|
|
|
| import '../compiler_new.dart' as api;
|
| -import 'compiler.dart' show Compiler;
|
| import 'js_backend/namer.dart' show Namer;
|
| import 'ssa/nodes.dart' as ssa show HGraph;
|
| import 'ssa/ssa_tracer.dart' show HTracer;
|
| @@ -34,12 +33,13 @@ class Tracer extends TracerUtil {
|
| final api.OutputSink output;
|
| final RegExp traceFilter;
|
|
|
| - Tracer(this.closedWorld, this.namer, Compiler compiler)
|
| + Tracer(this.closedWorld, this.namer, api.CompilerOutput compilerOutput)
|
| : traceFilter = TRACE_FILTER_PATTERN == null
|
| ? null
|
| : new RegExp(TRACE_FILTER_PATTERN),
|
| output = TRACE_FILTER_PATTERN != null
|
| - ? compiler.outputProvider('dart', 'cfg', api.OutputType.debug)
|
| + ? compilerOutput.createOutputSink(
|
| + 'dart', 'cfg', api.OutputType.debug)
|
| : null;
|
|
|
| bool get isEnabled => traceFilter != null;
|
|
|