| Index: test/mjsunit/regress-keyed-store-non-strict-arguments.js
|
| diff --git a/test/mjsunit/regress/regress-347906.js b/test/mjsunit/regress-keyed-store-non-strict-arguments.js
|
| similarity index 50%
|
| copy from test/mjsunit/regress/regress-347906.js
|
| copy to test/mjsunit/regress-keyed-store-non-strict-arguments.js
|
| index c751618928c93015679087ee1b500637657aa341..865d600ad90f1b9c6915659d242e2122ba407008 100644
|
| --- a/test/mjsunit/regress/regress-347906.js
|
| +++ b/test/mjsunit/regress-keyed-store-non-strict-arguments.js
|
| @@ -2,13 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --allow-natives-syntax --harmony
|
| +function args(arg) { return arguments; }
|
| +var a = args(false);
|
|
|
| -function foo() {
|
| - return Math.clz32(12.34);
|
| -}
|
| +(function () {
|
| + "use strict";
|
| + a["const" + 0] = 0;
|
| +})();
|
|
|
| -foo();
|
| -foo();
|
| -%OptimizeFunctionOnNextCall(foo);
|
| -foo();
|
| +(function () {
|
| + "use strict";
|
| + a[0] = 0;
|
| +})();
|
|
|