Index: test/mjsunit/regress/regress-5440.js |
diff --git a/test/mjsunit/regress/regress-crbug-644631.js b/test/mjsunit/regress/regress-5440.js |
similarity index 61% |
copy from test/mjsunit/regress/regress-crbug-644631.js |
copy to test/mjsunit/regress/regress-5440.js |
index 5e649a49463791f960bc635f207c3ab69d3b2169..4182146b1a4f00e90895a8fbabab754e986b0b8c 100644 |
--- a/test/mjsunit/regress/regress-crbug-644631.js |
+++ b/test/mjsunit/regress/regress-5440.js |
@@ -4,9 +4,5 @@ |
// Flags: --turbo --always-opt |
-function f() { |
- new Int8Array(new ArrayBuffer(2147483648)); |
-} |
- |
-// Should not crash |
-assertThrows(f, RangeError); |
+// The rightmost cons string is created first, resulting in an empty left part. |
+eval(" " + ("" + "try {;} catch (_) {}")); |