| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 import 'optimization.dart' show Pass; | 5 import 'optimization.dart' show Pass; |
| 6 import '../tree_ir_nodes.dart'; | 6 import '../tree_ir_nodes.dart'; |
| 7 | 7 |
| 8 /// Pulls assignment expressions to the top of the function body so they can be | 8 /// Pulls assignment expressions to the top of the function body so they can be |
| 9 /// translated into declaration-site variable initializaters. | 9 /// translated into declaration-site variable initializaters. |
| 10 /// | 10 /// |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 } | 307 } |
| 308 | 308 |
| 309 Expression visitNot(Not node) { | 309 Expression visitNot(Not node) { |
| 310 node.operand = visitExpression(node.operand); | 310 node.operand = visitExpression(node.operand); |
| 311 return node; | 311 return node; |
| 312 } | 312 } |
| 313 | 313 |
| 314 Expression visitVariableUse(VariableUse node) { | 314 Expression visitVariableUse(VariableUse node) { |
| 315 return node; | 315 return node; |
| 316 } | 316 } |
| 317 |
| 318 Expression visitCreateInvocationMirror(CreateInvocationMirror node) { |
| 319 rewriteList(node.arguments); |
| 320 return node; |
| 321 } |
| 317 } | 322 } |
| OLD | NEW |