| Index: src/v8natives.js
|
| diff --git a/src/v8natives.js b/src/v8natives.js
|
| index d444613f3a8ad0422aeae6d84c0f7cf7636bc2e8..e168b71abc0de9f65620ccd22cb116d0330a3d74 100644
|
| --- a/src/v8natives.js
|
| +++ b/src/v8natives.js
|
| @@ -928,7 +928,6 @@ function DefineArrayProperty(obj, p, desc, should_throw) {
|
| EnqueueSpliceRecord(obj,
|
| new_length < old_length ? new_length : old_length,
|
| removed,
|
| - removed.length,
|
| new_length > old_length ? new_length - old_length : 0);
|
| }
|
| if (threw) {
|
| @@ -967,7 +966,7 @@ function DefineArrayProperty(obj, p, desc, should_throw) {
|
| }
|
| if (emit_splice) {
|
| EndPerformSplice(obj);
|
| - EnqueueSpliceRecord(obj, length, [], 0, index + 1 - length);
|
| + EnqueueSpliceRecord(obj, length, [], index + 1 - length);
|
| }
|
| return true;
|
| }
|
|
|