| Index: src/elements.h
|
| diff --git a/src/elements.h b/src/elements.h
|
| index ffd6428ce94920ddfe8fd98abd278918b2516e73..e25076ba5c6ed1d527207dbe3a7c6f7b226c37e9 100644
|
| --- a/src/elements.h
|
| +++ b/src/elements.h
|
| @@ -143,17 +143,17 @@ class ElementsAccessor {
|
| MUST_USE_RESULT virtual MaybeObject* CopyElements(
|
| JSObject* source_holder,
|
| uint32_t source_start,
|
| + ElementsKind source_kind,
|
| FixedArrayBase* destination,
|
| - ElementsKind destination_kind,
|
| uint32_t destination_start,
|
| int copy_size,
|
| FixedArrayBase* source = NULL) = 0;
|
|
|
| MUST_USE_RESULT MaybeObject* CopyElements(JSObject* from_holder,
|
| FixedArrayBase* to,
|
| - ElementsKind to_kind,
|
| + ElementsKind from_kind,
|
| FixedArrayBase* from = NULL) {
|
| - return CopyElements(from_holder, 0, to, to_kind, 0,
|
| + return CopyElements(from_holder, 0, from_kind, to, 0,
|
| kCopyToEndAndInitializeToHole, from);
|
| }
|
|
|
|
|