| 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 tree_ir_builder; | 5 library tree_ir_builder; |
| 6 | 6 |
| 7 import '../dart2jslib.dart' as dart2js; | 7 import '../dart2jslib.dart' as dart2js; |
| 8 import '../dart_types.dart'; | 8 import '../dart_types.dart'; |
| 9 import '../elements/elements.dart'; | 9 import '../elements/elements.dart'; |
| 10 import '../cps_ir/cps_ir_nodes.dart' as cps_ir; | 10 import '../cps_ir/cps_ir_nodes.dart' as cps_ir; |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 // visited. | 468 // visited. |
| 469 compiler.internalError(compiler.currentElement, 'Unexpected IR node.'); | 469 compiler.internalError(compiler.currentElement, 'Unexpected IR node.'); |
| 470 return null; | 470 return null; |
| 471 } | 471 } |
| 472 | 472 |
| 473 Expression visitIsTrue(cps_ir.IsTrue node) { | 473 Expression visitIsTrue(cps_ir.IsTrue node) { |
| 474 return getVariableReference(node.value); | 474 return getVariableReference(node.value); |
| 475 } | 475 } |
| 476 } | 476 } |
| 477 | 477 |
| OLD | NEW |