Chromium Code Reviews| 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 // IrNodes are kept in a separate library to have precise control over their | 5 // IrNodes are kept in a separate library to have precise control over their |
| 6 // dependencies on other parts of the system. | 6 // dependencies on other parts of the system. |
| 7 library dart2js.ir_nodes; | 7 library dart2js.ir_nodes; |
| 8 | 8 |
| 9 import '../dart2jslib.dart' as dart2js show Constant; | 9 import '../dart2jslib.dart' as dart2js show Constant; |
| 10 import '../elements/elements.dart' | 10 import '../elements/elements.dart' |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 494 String visitContinuation(Continuation node) { | 494 String visitContinuation(Continuation node) { |
| 495 // Continuations are visited directly in visitLetCont. | 495 // Continuations are visited directly in visitLetCont. |
| 496 return '(Unexpected Continuation)'; | 496 return '(Unexpected Continuation)'; |
| 497 } | 497 } |
| 498 | 498 |
| 499 String visitIsTrue(IsTrue node) { | 499 String visitIsTrue(IsTrue node) { |
| 500 String value = names[node.value.definition]; | 500 String value = names[node.value.definition]; |
| 501 return '(IsTrue $value)'; | 501 return '(IsTrue $value)'; |
| 502 } | 502 } |
| 503 } | 503 } |
| 504 | |
|
Kevin Millikin (Google)
2014/06/10 11:08:31
Inadvertent change?
asgerf
2014/06/10 12:02:21
Reverted.
| |
| OLD | NEW |