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

Side by Side Diff: tests/standalone/slowpath_safepoints_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
« no previous file with comments | « tests/standalone/regress_25335_test.dart ('k') | tests/standalone/typed_data_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 that safepoints associated with slowpaths don't mark non-existing values 4 // Test that safepoints associated with slowpaths don't mark non-existing values
5 // alive. 5 // alive.
6 // VMOptions=--optimization-counter-threshold=5 --no-inline_alloc --gc_at_instan ce_allocation=_Double 6 // VMOptions=--optimization-counter-threshold=5 --no-inline_alloc --gc_at_instan ce_allocation=_Double --no-background-compilation
7 7
8 class C { 8 class C {
9 final next; 9 final next;
10 C(this.next); 10 C(this.next);
11 } 11 }
12 12
13 13
14 noop(a1, a2, a3, a4, a5, a6, a7, a8, a9) => 0; 14 noop(a1, a2, a3, a4, a5, a6, a7, a8, a9) => 0;
15 15
16 crash(f, i) { 16 crash(f, i) {
(...skipping 23 matching lines...) Expand all
40 f(d1, d2, d3, d4, d5, d6, d7, d8, d9); 40 f(d1, d2, d3, d4, d5, d6, d7, d8, d9);
41 f(d1, d2, d3, d4, d5, d6, d7, d8, d9); 41 f(d1, d2, d3, d4, d5, d6, d7, d8, d9);
42 } 42 }
43 43
44 main() { 44 main() {
45 for (var i = 0; i < 10; i++) { 45 for (var i = 0; i < 10; i++) {
46 print(i); 46 print(i);
47 crash(noop, 10); 47 crash(noop, 10);
48 } 48 }
49 } 49 }
OLDNEW
« no previous file with comments | « tests/standalone/regress_25335_test.dart ('k') | tests/standalone/typed_data_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698