From 99301fc8c51497d4befdf9f60ea674a5ce5b8814 Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Wed, 10 Sep 2014 08:48:40 +0000 Subject: [PATCH] Fix regress-411210 after r23824. BUG= R=hpayer@chromium.org Review URL: https://codereview.chromium.org/559863004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23827 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/mjsunit/regress/regress-411210.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/mjsunit/regress/regress-411210.js b/test/mjsunit/regress/regress-411210.js index bb9d3a5..2dbc5ff 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) { } -- 2.7.4