| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 | 8 |
| 9 import 'ssa.dart'; | 9 import 'ssa.dart'; |
| 10 import '../js_backend/js_backend.dart'; | 10 import '../js_backend/js_backend.dart'; |
| (...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 } | 514 } |
| 515 | 515 |
| 516 String visitTypeKnown(HTypeKnown node) { | 516 String visitTypeKnown(HTypeKnown node) { |
| 517 assert(node.inputs.length == 1); | 517 assert(node.inputs.length == 1); |
| 518 return "TypeKnown: ${temporaryId(node.checkedInput)} is ${node.knownType}"; | 518 return "TypeKnown: ${temporaryId(node.checkedInput)} is ${node.knownType}"; |
| 519 } | 519 } |
| 520 | 520 |
| 521 String visitRangeConversion(HRangeConversion node) { | 521 String visitRangeConversion(HRangeConversion node) { |
| 522 return "RangeConversion: ${node.checkedInput}"; | 522 return "RangeConversion: ${node.checkedInput}"; |
| 523 } | 523 } |
| 524 |
| 525 String visitReadTypeVariable(HReadTypeVariable node) { |
| 526 return "ReadTypeVariable: ${node.dartType} ${node.hasReceiver}"; |
| 527 } |
| 528 |
| 529 String visitFunctionType(HFunctionType node) { |
| 530 return "FunctionType: ${node.dartType}"; |
| 531 } |
| 532 |
| 533 String visitVoidType(HVoidType node) { |
| 534 return "VoidType"; |
| 535 } |
| 536 |
| 537 String visitInterfaceType(HInterfaceType node) { |
| 538 return "InterfaceType: ${node.dartType}"; |
| 539 } |
| 540 |
| 541 String visitDynamicType(HDynamicType node) { |
| 542 return "DynamicType"; |
| 543 } |
| 524 } | 544 } |
| OLD | NEW |