Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index 2ee07aa4746bf7cb2920b7324d4a3129b9b54961..ea335aa47e88b8eb5d62458b75cbe4722ad9e877 100644 |
--- a/src/elements.h |
+++ b/src/elements.h |
@@ -167,6 +167,15 @@ class ElementsAccessor { |
int copy_size, |
FixedArrayBase* source = NULL) = 0; |
+ void CopyElements( |
+ Handle<JSObject> from_holder, |
+ Handle<FixedArrayBase> to, |
+ ElementsKind from_kind, |
+ Handle<FixedArrayBase> from = Handle<FixedArrayBase>::null()) { |
+ CopyElements(from_holder, 0, from_kind, to, 0, |
+ kCopyToEndAndInitializeToHole, from); |
+ } |
+ |
MUST_USE_RESULT MaybeObject* CopyElements(JSObject* from_holder, |
FixedArrayBase* to, |
ElementsKind from_kind, |