| 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 dart2js.ir_tracer; | 5 library dart2js.ir_tracer; |
| 6 | 6 |
| 7 import 'dart:async' show EventSink; | 7 import 'dart:async' show EventSink; |
| 8 |
| 9 import '../tracer.dart'; |
| 8 import 'cps_ir_nodes.dart' as cps_ir; | 10 import 'cps_ir_nodes.dart' as cps_ir; |
| 9 import '../tracer.dart'; | |
| 10 | 11 |
| 11 /** | 12 /** |
| 12 * If true, show LetCont expressions in output. | 13 * If true, show LetCont expressions in output. |
| 13 */ | 14 */ |
| 14 const bool IR_TRACE_LET_CONT = false; | 15 const bool IR_TRACE_LET_CONT = false; |
| 15 | 16 |
| 16 class IRTracer extends TracerUtil implements cps_ir.Visitor { | 17 class IRTracer extends TracerUtil implements cps_ir.Visitor { |
| 17 EventSink<String> output; | 18 EventSink<String> output; |
| 18 | 19 |
| 19 IRTracer(this.output); | 20 IRTracer(this.output); |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 } | 675 } |
| 675 | 676 |
| 676 visitBoundsCheck(cps_ir.BoundsCheck node) { | 677 visitBoundsCheck(cps_ir.BoundsCheck node) { |
| 677 unexpectedNode(node); | 678 unexpectedNode(node); |
| 678 } | 679 } |
| 679 | 680 |
| 680 visitReceiverCheck(cps_ir.ReceiverCheck node) { | 681 visitReceiverCheck(cps_ir.ReceiverCheck node) { |
| 681 unexpectedNode(node); | 682 unexpectedNode(node); |
| 682 } | 683 } |
| 683 } | 684 } |
| OLD | NEW |