| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library tracer; | 5 library tracer; |
| 6 | 6 |
| 7 import 'dart:async' show EventSink; | 7 import 'dart:async' show EventSink; |
| 8 import '../compiler.dart' as api; | 8 import '../compiler.dart' as api; |
| 9 import 'common/work.dart' show | 9 import 'common/work.dart' show |
| 10 ItemCompilationContext; | 10 ItemCompilationContext; |
| 11 import 'compiler.dart' show | 11 import 'compiler.dart' show |
| 12 Compiler; | 12 Compiler; |
| 13 import 'ssa/ssa.dart' as ssa; | 13 import 'ssa/nodes.dart' as ssa show |
| 14 HGraph; |
| 14 import 'ssa/ssa_tracer.dart' show | 15 import 'ssa/ssa_tracer.dart' show |
| 15 HTracer; | 16 HTracer; |
| 16 import 'cps_ir/cps_ir_nodes.dart' as cps_ir; | 17 import 'cps_ir/cps_ir_nodes.dart' as cps_ir; |
| 17 import 'cps_ir/cps_ir_tracer.dart' show | 18 import 'cps_ir/cps_ir_tracer.dart' show |
| 18 IRTracer; | 19 IRTracer; |
| 19 import 'tree_ir/tree_ir_nodes.dart' as tree_ir; | 20 import 'tree_ir/tree_ir_nodes.dart' as tree_ir; |
| 20 import 'tree_ir/tree_ir_tracer.dart' show | 21 import 'tree_ir/tree_ir_tracer.dart' show |
| 21 TreeTracer; | 22 TreeTracer; |
| 22 import 'util/util.dart' show | 23 import 'util/util.dart' show |
| 23 Indentation; | 24 Indentation; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 } | 118 } |
| 118 | 119 |
| 119 void add(String string) { | 120 void add(String string) { |
| 120 output.add(string); | 121 output.add(string); |
| 121 } | 122 } |
| 122 | 123 |
| 123 void addIndent() { | 124 void addIndent() { |
| 124 add(_ind.indentation); | 125 add(_ind.indentation); |
| 125 } | 126 } |
| 126 } | 127 } |
| OLD | NEW |