| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 'compiler_helper.dart'; | 5 import 'compiler_helper.dart'; |
| 6 | 6 |
| 7 const int REMOVED = 0; | 7 const int REMOVED = 0; |
| 8 const int ABOVE_ZERO = 1; | 8 const int ABOVE_ZERO = 1; |
| 9 const int BELOW_LENGTH = 2; | 9 const int BELOW_LENGTH = 2; |
| 10 const int KEPT = 3; | 10 const int KEPT = 3; |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 operator +(other) {} | 234 operator +(other) {} |
| 235 operator -(other) {} | 235 operator -(other) {} |
| 236 operator ~/(other) {} | 236 operator ~/(other) {} |
| 237 operator /(other) {} | 237 operator /(other) {} |
| 238 operator *(other) {} | 238 operator *(other) {} |
| 239 operator <<(other) {} | 239 operator <<(other) {} |
| 240 operator >>(other) {} | 240 operator >>(other) {} |
| 241 operator |(other) {} | 241 operator |(other) {} |
| 242 operator &(other) {} | 242 operator &(other) {} |
| 243 operator ^(other) {} | 243 operator ^(other) {} |
| 244 operator <(other) {} |
| 245 operator >(other) {} |
| 246 operator <=(other) {} |
| 247 operator >=(other) {} |
| 248 operator ==(other) {} |
| 244 } | 249 } |
| 245 class JSInt { | 250 class JSInt extends JSNumber { |
| 246 } | 251 } |
| 247 class JSDouble { | 252 class JSDouble extends JSNumber { |
| 248 } | 253 } |
| 249 class JSNull { | 254 class JSNull { |
| 250 } | 255 } |
| 251 class JSBool { | 256 class JSBool { |
| 252 } | 257 } |
| 253 class JSFunction { | 258 class JSFunction { |
| 254 } | 259 } |
| 255 class ObjectInterceptor { | 260 class ObjectInterceptor { |
| 256 } | 261 } |
| 257 getInterceptor(x) {}'''; | 262 getInterceptor(x) {}'''; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 break; | 299 break; |
| 295 } | 300 } |
| 296 } | 301 } |
| 297 | 302 |
| 298 | 303 |
| 299 main() { | 304 main() { |
| 300 for (int i = 0; i < TESTS.length; i += 2) { | 305 for (int i = 0; i < TESTS.length; i += 2) { |
| 301 expect(TESTS[i], TESTS[i + 1]); | 306 expect(TESTS[i], TESTS[i + 1]); |
| 302 } | 307 } |
| 303 } | 308 } |
| OLD | NEW |