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

Side by Side Diff: tests/standalone_2/assert_assignable_canon_test.dart

Issue 2984363004: Migrate first block of tests in standalone to standalone_2 (Closed)
Patch Set: Created 3 years, 4 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 // 4 //
5 // VMOptions=--enable-inlining-annotations --optimization-counter-threshold=10 - -no-background-compilation 5 // VMOptions=--enable-inlining-annotations --optimization-counter-threshold=10 - -no-background-compilation
6 6
7 const AlwaysInline = "AlwaysInline"; 7 const AlwaysInline = "AlwaysInline";
8 const NeverInline = "NeverInline"; 8 const NeverInline = "NeverInline";
9 9
10 abstract class A<T extends A<T>> { 10 abstract class A<T extends A<T>> {
(...skipping 17 matching lines...) Expand all
28 // function (Instance::IsInstanceOf does not work for TypeRefs). 28 // function (Instance::IsInstanceOf does not work for TypeRefs).
29 @NeverInline 29 @NeverInline
30 f(o) => new B().f(o); 30 f(o) => new B().f(o);
31 31
32 main() { 32 main() {
33 final o = new D(); 33 final o = new D();
34 for (var i = 0; i < 10; i++) { 34 for (var i = 0; i < 10; i++) {
35 f(o); 35 f(o);
36 } 36 }
37 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698