| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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:io'); | 7 #import('dart:io'); |
| 8 #import('ssa.dart'); | 8 #import('ssa.dart'); |
| 9 #import('../js_backend/js_backend.dart'); | 9 #import('../js_backend/js_backend.dart'); |
| 10 #import('../leg.dart'); | 10 #import('../leg.dart'); |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 return "TypeGuard($on): $guardedId is $type bailout: $bailoutId " | 517 return "TypeGuard($on): $guardedId is $type bailout: $bailoutId " |
| 518 "env: $envBuffer"; | 518 "env: $envBuffer"; |
| 519 } | 519 } |
| 520 | 520 |
| 521 String visitIs(HIs node) { | 521 String visitIs(HIs node) { |
| 522 String type = node.typeExpression.toString(); | 522 String type = node.typeExpression.toString(); |
| 523 return "TypeTest: ${temporaryId(node.expression)} is $type"; | 523 return "TypeTest: ${temporaryId(node.expression)} is $type"; |
| 524 } | 524 } |
| 525 | 525 |
| 526 String visitTypeConversion(HTypeConversion node) { | 526 String visitTypeConversion(HTypeConversion node) { |
| 527 return "TypeConversion: ${temporaryId(node.inputs[0])} to ${node.type}"; | 527 return "TypeConversion: ${temporaryId(node.checkedInput)} to ${node.type}"; |
| 528 } |
| 529 |
| 530 String visitRangeConversion(HRangeConversion node) { |
| 531 return "RangeConversion: ${node.checkedInput}"; |
| 528 } | 532 } |
| 529 } | 533 } |
| OLD | NEW |