Index: test/mjsunit/regress/regress-592353.js |
diff --git a/test/mjsunit/regress/regress-572589.js b/test/mjsunit/regress/regress-592353.js |
similarity index 80% |
copy from test/mjsunit/regress/regress-572589.js |
copy to test/mjsunit/regress/regress-592353.js |
index 1fd755ad1e8d928c0f6f7cab00d274a4c40e5368..f4e3b6859a48bbc01785857c698d831ae8a87167 100644 |
--- a/test/mjsunit/regress/regress-572589.js |
+++ b/test/mjsunit/regress/regress-592353.js |
@@ -4,8 +4,7 @@ |
// |
// Flags: --allow-natives-syntax --no-lazy |
-"use strict"; |
-eval(); |
-var f = ({x}) => { }; |
+with ({}) {} |
+f = ({x}) => { }; |
%OptimizeFunctionOnNextCall(f); |
-assertThrows(f); |
+f({}); |