| 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 dart2js.ir_builder_task; | 5 library dart2js.ir_builder_task; |
| 6 | 6 |
| 7 import '../closure.dart' as closurelib; | 7 import '../closure.dart' as closurelib; |
| 8 import '../closure.dart' hide ClosureScope; | 8 import '../closure.dart' hide ClosureScope; |
| 9 import '../constants/expressions.dart'; | 9 import '../constants/expressions.dart'; |
| 10 import '../dart_types.dart'; | 10 import '../dart_types.dart'; |
| (...skipping 3612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3623 } | 3623 } |
| 3624 | 3624 |
| 3625 processDeclareFunction(ir.DeclareFunction node) { | 3625 processDeclareFunction(ir.DeclareFunction node) { |
| 3626 node.body = replacementFor(node.body); | 3626 node.body = replacementFor(node.body); |
| 3627 } | 3627 } |
| 3628 | 3628 |
| 3629 processSetField(ir.SetField node) { | 3629 processSetField(ir.SetField node) { |
| 3630 node.body = replacementFor(node.body); | 3630 node.body = replacementFor(node.body); |
| 3631 } | 3631 } |
| 3632 | 3632 |
| 3633 processSetStatic(ir.SetStatic node) { |
| 3634 node.body = replacementFor(node.body); |
| 3635 } |
| 3636 |
| 3633 processContinuation(ir.Continuation node) { | 3637 processContinuation(ir.Continuation node) { |
| 3634 node.body = replacementFor(node.body); | 3638 node.body = replacementFor(node.body); |
| 3635 } | 3639 } |
| 3636 | 3640 |
| 3637 processBody(ir.Body node) { | 3641 processBody(ir.Body node) { |
| 3638 node.body = replacementFor(node.body); | 3642 node.body = replacementFor(node.body); |
| 3639 } | 3643 } |
| 3640 } | 3644 } |
| 3641 | 3645 |
| 3642 /// Visit a just-deleted subterm and unlink all [Reference]s in it. | 3646 /// Visit a just-deleted subterm and unlink all [Reference]s in it. |
| 3643 class RemovalVisitor extends ir.RecursiveVisitor { | 3647 class RemovalVisitor extends ir.RecursiveVisitor { |
| 3644 processReference(ir.Reference reference) { | 3648 processReference(ir.Reference reference) { |
| 3645 reference.unlink(); | 3649 reference.unlink(); |
| 3646 } | 3650 } |
| 3647 } | 3651 } |
| OLD | NEW |