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

Side by Side Diff: tests/language/vm/reusable_boxes_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 // Test correct handling reusable boxes. 4 // Test correct handling reusable boxes.
5 // VMOptions=--optimization_counter_threshold=100 5 // VMOptions=--optimization_counter_threshold=100 --no-background_compilation
6 6
7 library reusable_boxes_test; 7 library reusable_boxes_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 class D { 12 class D {
13 var a = 0.0; 13 var a = 0.0;
14 var b = 1.0; 14 var b = 1.0;
15 var c = 2.0; 15 var c = 2.0;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 Expect.equals(40.0, r.y); 83 Expect.equals(40.0, r.y);
84 Expect.equals(60.0, r.z); 84 Expect.equals(60.0, r.z);
85 Expect.equals(80.0, r.w); 85 Expect.equals(80.0, r.w);
86 } 86 }
87 87
88 88
89 main() { 89 main() {
90 testD(); 90 testD();
91 testF(); 91 testF();
92 } 92 }
OLDNEW
« no previous file with comments | « tests/language/vm/regress_23117_vm_test.dart ('k') | tests/language/vm/store_elimination_vm_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698