Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 087b625c63852582a9d7f22d006e64b2799208cf..5833e4c3c7aac56018167f48ff96c9501c2453a1 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -784,6 +784,21 @@ class ElementsAccessorBase : public ElementsAccessor { |
return NULL; |
} |
+ virtual void CopyElements( |
+ Handle<JSObject> from_holder, |
+ uint32_t from_start, |
+ ElementsKind from_kind, |
+ Handle<FixedArrayBase> to, |
+ uint32_t to_start, |
+ int copy_size, |
+ Handle<FixedArrayBase> from) { |
+ CALL_HEAP_FUNCTION_VOID(from_holder->GetIsolate(), |
+ CopyElements( |
+ from_holder.is_null() ? NULL : *from_holder, |
+ from_start, from_kind, *to, to_start, copy_size, |
+ from.is_null() ? NULL : *from)); |
+ } |
+ |
MUST_USE_RESULT virtual MaybeObject* CopyElements(JSObject* from_holder, |
uint32_t from_start, |
ElementsKind from_kind, |