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

Side by Side Diff: tests/language/vm/optimized_stacktrace_test.dart

Issue 1433243003: Background compilation work: (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: d Created 5 years, 1 month 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/language/vm/load_elimination_two_redefinitions_test.dart ('k') | no next file » | 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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=--stacktrace-every=3 --optimization-counter-threshold=10 --enable-i nlining-annotations 4 // VMOptions=--stacktrace-every=3 --optimization-counter-threshold=10 --enable-i nlining-annotations --no-background-compilation
5 5
6 // Test generating stacktraces with inlining and deferred code. 6 // Test generating stacktraces with inlining and deferred code.
7 // Regression test for issue dartbug.com/22331 7 // Regression test for issue dartbug.com/22331
8 8
9 class A { 9 class A {
10 final N; 10 final N;
11 final inc; 11 final inc;
12 var next; 12 var next;
13 A(this.N, this.inc) { 13 A(this.N, this.inc) {
14 next = this; 14 next = this;
(...skipping 18 matching lines...) Expand all
33 var value = 0x100000000 + o.inc; 33 var value = 0x100000000 + o.inc;
34 baz(0, 0, foo(o, value)); 34 baz(0, 0, foo(o, value));
35 } 35 }
36 36
37 main() { 37 main() {
38 var o = new A(10, 1); 38 var o = new A(10, 1);
39 for (var i = 0; i < 100; i++) bar(o); 39 for (var i = 0; i < 100; i++) bar(o);
40 bar(new A(100000, 1)); 40 bar(new A(100000, 1));
41 } 41 }
42 42
OLDNEW
« no previous file with comments | « tests/language/vm/load_elimination_two_redefinitions_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698