Index: test/mjsunit/regress/regress-crbug-643073.js |
diff --git a/test/mjsunit/regress/regress-crbug-614292.js b/test/mjsunit/regress/regress-crbug-643073.js |
similarity index 78% |
copy from test/mjsunit/regress/regress-crbug-614292.js |
copy to test/mjsunit/regress/regress-crbug-643073.js |
index 3a67c17f6010b3bf60a8b7c9aa019ff369ddfadf..1301ddd18435aa364f9a76783fad8cdc6b036d3c 100644 |
--- a/test/mjsunit/regress/regress-crbug-614292.js |
+++ b/test/mjsunit/regress/regress-crbug-643073.js |
@@ -4,11 +4,10 @@ |
// Flags: --allow-natives-syntax |
+for (i in [0,0]) {} |
function foo() { |
- return [] | 0 && values[0] || false; |
+ i = 0; |
+ return i < 0; |
} |
- |
%OptimizeFunctionOnNextCall(foo); |
-try { |
- foo(); |
-} catch (e) {} |
+foo(); |