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

Unified Diff: test/mjsunit/regress/regress-411210.js

Issue 559863004: Fix regress-411210 after r23824. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-411210.js
diff --git a/test/mjsunit/regress/regress-411210.js b/test/mjsunit/regress/regress-411210.js
index bb9d3a5fd7bb3aa8aa79ef91ec0fadb528f2aec1..2dbc5ff70c493c0c80b376d17ada55b6758bc409 100644
--- a/test/mjsunit/regress/regress-411210.js
+++ b/test/mjsunit/regress/regress-411210.js
@@ -13,6 +13,10 @@ function __f_2() {
__v_1[2] = 20;
return __v_1;
}
-for (var __v_2 = 0; __v_2 < 3; ++__v_2) {
- __v_3 = __f_2();
+
+try {
+ for (var __v_2 = 0; __v_2 < 3; ++__v_2) {
+ __v_3 = __f_2();
+ }
}
+catch (e) { }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698