OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // Test various setter situations, testing special cases in optimizing compiler. | 4 // Test various setter situations, testing special cases in optimizing compiler. |
5 | 5 |
6 class A { | 6 class A { |
7 int field = 0; | 7 int field = 0; |
8 } | 8 } |
9 | 9 |
10 class B extends A { | 10 class B extends A { |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 void main() { | 143 void main() { |
144 for (int i = 0; i< 2000; i++) {} | 144 for (int i = 0; i< 2000; i++) {} |
145 sameImplicitSetter(); | 145 sameImplicitSetter(); |
146 setterNoFeedback(); | 146 setterNoFeedback(); |
147 sameNotImplicitSetter(); | 147 sameNotImplicitSetter(); |
148 | 148 |
149 multiImplicitSetter(); | 149 multiImplicitSetter(); |
150 multiNotImplicitSetter(); | 150 multiNotImplicitSetter(); |
151 } | 151 } |
OLD | NEW |