| 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 part of native; | 5 part of native; |
| 6 | 6 |
| 7 class SideEffectsVisitor extends js.BaseVisitor { | 7 class SideEffectsVisitor extends js.BaseVisitor { |
| 8 final SideEffects sideEffects; | 8 final SideEffects sideEffects; |
| 9 SideEffectsVisitor(this.sideEffects); | 9 SideEffectsVisitor(this.sideEffects); |
| 10 | 10 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 node.visitChildren(this); | 74 node.visitChildren(this); |
| 75 } | 75 } |
| 76 | 76 |
| 77 void visitAccess(js.PropertyAccess node) { | 77 void visitAccess(js.PropertyAccess node) { |
| 78 sideEffects.setDependsOnIndexStore(); | 78 sideEffects.setDependsOnIndexStore(); |
| 79 sideEffects.setDependsOnInstancePropertyStore(); | 79 sideEffects.setDependsOnInstancePropertyStore(); |
| 80 sideEffects.setDependsOnStaticPropertyStore(); | 80 sideEffects.setDependsOnStaticPropertyStore(); |
| 81 node.visitChildren(this); | 81 node.visitChildren(this); |
| 82 } | 82 } |
| 83 } | 83 } |
| OLD | NEW |