| Index: src/array.js
|
| diff --git a/src/array.js b/src/array.js
|
| index a16f430d116d31362819af77f3ea124bbd0bab96..46dbb87121455ca812f289c6fbb03513b0425ca0 100644
|
| --- a/src/array.js
|
| +++ b/src/array.js
|
| @@ -445,7 +445,7 @@ function ArrayPush() {
|
| for (var i = 0; i < m; i++) {
|
| // Use SetProperty rather than a direct keyed store to ensure that the store
|
| // site doesn't become poisened with an elements transition KeyedStoreIC.
|
| - %SetProperty(array, i+n, %_Arguments(i), 0, kStrictMode);
|
| + %SetProperty(array, i+n, %_Arguments(i), kStrictMode);
|
| }
|
|
|
| var new_length = n + m;
|
| @@ -1462,7 +1462,7 @@ function SetUpArray() {
|
|
|
| // Set up non-enumerable constructor property on the Array.prototype
|
| // object.
|
| - %SetProperty($Array.prototype, "constructor", $Array, DONT_ENUM);
|
| + %AddProperty($Array.prototype, "constructor", $Array, DONT_ENUM);
|
|
|
| // Set up non-enumerable functions on the Array object.
|
| InstallFunctions($Array, DONT_ENUM, $Array(
|
|
|