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

Side by Side Diff: tests/language/vm/load_elimination_mark_stored_values_escaping_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
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 correctness of side effects tracking used by load to load forwarding. 4 // Test correctness of side effects tracking used by load to load forwarding.
5 5
6 // VMOptions=--no-use-osr --optimization-counter-threshold=10 --enable-inlining- annotations 6 // VMOptions=--no-use-osr --optimization-counter-threshold=10 --enable-inlining- annotations --no-background-compilation
7 7
8 // Tests correct handling of redefinitions in aliasing computation. 8 // Tests correct handling of redefinitions in aliasing computation.
9 9
10 import "package:expect/expect.dart"; 10 import "package:expect/expect.dart";
11 11
12 const alwaysInline = "AlwaysInline"; 12 const alwaysInline = "AlwaysInline";
13 const noInline = "NeverInline"; 13 const noInline = "NeverInline";
14 14
15 B G; 15 B G;
16 16
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 55 }
56 56
57 main() { 57 main() {
58 foo(new B(), new A()); 58 foo(new B(), new A());
59 foo(new A(), new B()); 59 foo(new A(), new B());
60 foo2(new B(), new A()); 60 foo2(new B(), new A());
61 foo2(new A(), new B()); 61 foo2(new A(), new B());
62 for (var i = 0; i < 100; i++) testfunc(); 62 for (var i = 0; i < 100; i++) testfunc();
63 Expect.equals(123, testfunc()); 63 Expect.equals(123, testfunc());
64 } 64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698