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

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

Issue 14682020: Optimize functions containing try-catch. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed checked mode tests failure Created 7 years, 7 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 4
5 import "package:expect/expect.dart"; 5 import "package:expect/expect.dart";
6 6
7 class MyException { } 7 class MyException { }
8 8
9 class MyException1 extends MyException { } 9 class MyException1 extends MyException { }
10 10
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 test4(); 144 test4();
145 test5(); 145 test5();
146 test6(); 146 test6();
147 test7(); 147 test7();
148 test8(); 148 test8();
149 test9(); 149 test9();
150 } 150 }
151 } 151 }
152 152
153 main() { 153 main() {
154 TryCatchTest.testMain(); 154 for (var i = 0; i < 2000; i++) {
155 TryCatchTest.testMain();
156 }
155 } 157 }
OLDNEW
« tests/language/try_catch3_test.dart ('K') | « tests/language/try_catch_optimized1_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698