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

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

Issue 963483002: Version 1.8.6 (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.8/
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « dart/runtime/vm/locations.cc ('k') | dart/tests/language/vm/regress_22541_vm_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) 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=--optimization-counter-threshold=10 --no-use-osr 4 // VMOptions=--optimization-counter-threshold=10 --no-use-osr
5 5
6 import "package:expect/expect.dart"; 6 import "package:expect/expect.dart";
7 7
8 // Test dense class-id checks. Regression test for issue 22104. 8 // Test dense class-id checks. Regression test for issue 22104.
9 9
10 class A { 10 class A {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 test_class_check(list[i]); 61 test_class_check(list[i]);
62 } 62 }
63 for (var i = 0; i < 100; i++) { 63 for (var i = 0; i < 100; i++) {
64 Expect.equals("an A", test_class_check(new A1())); 64 Expect.equals("an A", test_class_check(new A1()));
65 } 65 }
66 Expect.equals("ha", test_class_check(new A4())); 66 Expect.equals("ha", test_class_check(new A4()));
67 } 67 }
68 68
69 69
70 70
OLDNEW
« no previous file with comments | « dart/runtime/vm/locations.cc ('k') | dart/tests/language/vm/regress_22541_vm_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698