Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: tests/lib/typed_data/float32x4_list_test.dart

Issue 1759973002: Add --no-background-compilation to tests that expect to run code in optimized form (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: more Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « tests/lib/typed_data/float32x4_cross_test.dart ('k') | tests/lib/typed_data/float32x4_shuffle_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698