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 // VMOptions=--deoptimization_counter_threshold=1000 --optimization-counter-thre
shold=10 | 4 // VMOptions=--deoptimization_counter_threshold=1000 --optimization-counter-thre
shold=10 --no-background_compilation |
5 | 5 |
6 // Library tag to be able to run in html test framework. | 6 // Library tag to be able to run in html test framework. |
7 library float32x4_list_test; | 7 library float32x4_list_test; |
8 | 8 |
9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
10 import 'package:expect/expect.dart'; | 10 import 'package:expect/expect.dart'; |
11 | 11 |
12 testLoadStore(array) { | 12 testLoadStore(array) { |
13 Expect.equals(8, array.length); | 13 Expect.equals(8, array.length); |
14 Expect.isTrue(array is List<Float32x4>); | 14 Expect.isTrue(array is List<Float32x4>); |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 testLoadStore(list); | 247 testLoadStore(list); |
248 } | 248 } |
249 for (int i = 0; i < 20; i++) { | 249 for (int i = 0; i < 20; i++) { |
250 testListZero(); | 250 testListZero(); |
251 } | 251 } |
252 for (int i = 0; i < 20; i++) { | 252 for (int i = 0; i < 20; i++) { |
253 testSpecialValues(list); | 253 testSpecialValues(list); |
254 } | 254 } |
255 testLoadStoreDeoptDriver(); | 255 testLoadStoreDeoptDriver(); |
256 } | 256 } |
OLD | NEW |