Index: test/mjsunit/regress/regress-360733.js |
diff --git a/test/mjsunit/regress/regress-keyed-store-global.js b/test/mjsunit/regress/regress-360733.js |
similarity index 59% |
copy from test/mjsunit/regress/regress-keyed-store-global.js |
copy to test/mjsunit/regress/regress-360733.js |
index 1b127776d6c3635bbf6e57b2256319288b8f411c..28f73ea446fc19b0d8840af9673eea4afa67e88a 100644 |
--- a/test/mjsunit/regress/regress-keyed-store-global.js |
+++ b/test/mjsunit/regress/regress-360733.js |
@@ -2,11 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --allow-natives-syntax --verify-heap |
+// Flags: --stack_size=150 |
+ |
function f(a) { |
- for (var i = 0; i < 256; i++) a[i] = i; |
+ f(a + 1); |
} |
-f([]); |
-f([]); |
-f(this); |
+Error.__defineGetter__('stackTraceLimit', function() { }); |
+try { |
+ f(0); |
+} catch (e) { } |