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

Side by Side Diff: tests/language/try_catch_test.dart

Issue 18563006: More tests updated to optimize code (Part 2). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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
4 5
5 import "package:expect/expect.dart"; 6 import "package:expect/expect.dart";
6 7
7 class MyException { } 8 class MyException { }
8 9
9 class MyException1 extends MyException { } 10 class MyException1 extends MyException { }
10 11
11 class MyException2 extends MyException { } 12 class MyException2 extends MyException { }
12 13
13 class TryCatchTest { 14 class TryCatchTest {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 test4(); 145 test4();
145 test5(); 146 test5();
146 test6(); 147 test6();
147 test7(); 148 test7();
148 test8(); 149 test8();
149 test9(); 150 test9();
150 } 151 }
151 } 152 }
152 153
153 main() { 154 main() {
154 for (var i = 0; i < 2000; i++) { 155 for (var i = 0; i < 20; i++) {
155 TryCatchTest.testMain(); 156 TryCatchTest.testMain();
156 } 157 }
157 } 158 }
OLDNEW
« no previous file with comments | « tests/language/try_catch_optimized1_test.dart ('k') | tests/language/type_propagation_assert_assignable_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698