Index: test/mjsunit/regress/regress-crbug-545364.js |
diff --git a/test/message/regress/regress-4266.js b/test/mjsunit/regress/regress-crbug-545364.js |
similarity index 63% |
copy from test/message/regress/regress-4266.js |
copy to test/mjsunit/regress/regress-crbug-545364.js |
index 552176bccf54e01f6c589ec420a06a0c4ba9e6c9..4fe99d0133d08440a90cef74fc59d5487438e172 100644 |
--- a/test/message/regress/regress-4266.js |
+++ b/test/mjsunit/regress/regress-crbug-545364.js |
@@ -3,9 +3,9 @@ |
// found in the LICENSE file. |
(function() { |
- try { |
- [].foo(); |
- } catch (e) { |
- throw e; |
+ "use asm"; |
+ return function(x) { |
+ for (var i = 0; i < 100000; ++i) {} |
+ return x; |
} |
-})(); |
+})()(this + "i"); |