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

Unified Diff: tests/language/try_catch_optimized3_test.dart

Issue 335793003: Enable OSR optimization for functions with try-catch. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: improved tests Created 6 years, 6 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_catch_optimized2_test.dart ('k') | tests/language/try_catch_osr_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/try_catch_optimized3_test.dart
===================================================================
--- tests/language/try_catch_optimized3_test.dart (revision 37390)
+++ tests/language/try_catch_optimized3_test.dart (working copy)
@@ -1,7 +1,7 @@
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// VMOptions=--optimization-counter-threshold=10 --no-use-osr
+// VMOptions=--optimization-counter-threshold=10
import "package:expect/expect.dart";
@@ -22,7 +22,7 @@
}
main() {
- for (var i=0; i<100; i++) test_double(1.0, false);
+ for (var i = 0; i < 100; i++) test_double(1.0, false);
test_double(1.0, false);
Expect.equals(1.0, test_double(1.0, true));
}
« no previous file with comments | « tests/language/try_catch_optimized2_test.dart ('k') | tests/language/try_catch_osr_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698