| Index: test/mjsunit/regress/regress-458987.js
|
| diff --git a/test/mjsunit/regress-keyed-store-non-strict-arguments.js b/test/mjsunit/regress/regress-458987.js
|
| similarity index 56%
|
| copy from test/mjsunit/regress-keyed-store-non-strict-arguments.js
|
| copy to test/mjsunit/regress/regress-458987.js
|
| index 865d600ad90f1b9c6915659d242e2122ba407008..f7a7edcef4e63c450182867b8acc049b42c42905 100644
|
| --- a/test/mjsunit/regress-keyed-store-non-strict-arguments.js
|
| +++ b/test/mjsunit/regress/regress-458987.js
|
| @@ -2,15 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -function args(arg) { return arguments; }
|
| -var a = args(false);
|
| -
|
| (function () {
|
| - "use strict";
|
| - a["const" + 0] = 0;
|
| -})();
|
| + "use asm";
|
|
|
| -(function () {
|
| - "use strict";
|
| - a[0] = 0;
|
| + function g() {}
|
| +
|
| + runNearStackLimit(g);
|
| })();
|
| +
|
| +function runNearStackLimit(f) {
|
| + function g() { try { g(); } catch(e) { f(); } };
|
| + g();
|
| +}
|
|
|