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

Unified Diff: tests/language/try_catch4_test.dart

Issue 14682020: Optimize functions containing try-catch. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/language/try_catch3_test.dart ('k') | tests/language/try_catch5_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/try_catch4_test.dart
===================================================================
--- tests/language/try_catch4_test.dart (revision 22613)
+++ tests/language/try_catch4_test.dart (working copy)
@@ -175,7 +175,7 @@
}
}
-main() {
+main_test() {
a = 0;
Expect.isTrue(foo1());
a = 0;
@@ -195,3 +195,9 @@
a = 0;
Expect.isTrue(foo9());
}
+
+main() {
+ for (var i = 0; i < 2000; i++) {
+ main_test();
+ }
+}
« no previous file with comments | « tests/language/try_catch3_test.dart ('k') | tests/language/try_catch5_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698