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

Unified Diff: tests/language/try_catch5_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 side-by-side diff with in-line comments
Download patch
Index: tests/language/try_catch5_test.dart
===================================================================
--- tests/language/try_catch5_test.dart (revision 22436)
+++ tests/language/try_catch5_test.dart (working copy)
@@ -30,6 +30,8 @@
}
main() {
- a = 0;
- Expect.isTrue(foo1());
+ for (var i = 0; i < 2000; i++) {
+ a = 0;
+ Expect.isTrue(foo1());
+ }
}

Powered by Google App Engine
This is Rietveld 408576698