Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index 07f24c1f8c6b920a0af93698a40e95b80e2211b3..348af94d91d0df21d413e15b6d6bbf6e871bad21 100644 |
--- a/src/elements.h |
+++ b/src/elements.h |
@@ -8,7 +8,7 @@ |
#include "src/elements-kind.h" |
#include "src/heap/heap.h" |
#include "src/isolate.h" |
-#include "src/key-accumulator.h" |
+#include "src/keys.h" |
#include "src/objects.h" |
namespace v8 { |
@@ -99,6 +99,19 @@ class ElementsAccessor { |
filter, offset); |
} |
+ // |
+ virtual Handle<FixedArray> PrependElementIndices( |
+ Handle<JSObject> object, Handle<FixedArrayBase> backing_store, |
+ Handle<FixedArray> keys, GetKeysConversion convert, |
+ PropertyFilter filter = ALL_PROPERTIES) = 0; |
+ |
+ inline Handle<FixedArray> PrependElementIndices( |
+ Handle<JSObject> object, Handle<FixedArray> keys, |
+ GetKeysConversion convert, PropertyFilter filter = ALL_PROPERTIES) { |
+ return PrependElementIndices(object, handle(object->elements()), keys, |
+ convert, filter); |
+ } |
+ |
virtual void AddElementsToKeyAccumulator(Handle<JSObject> receiver, |
KeyAccumulator* accumulator, |
AddKeyConversion convert) = 0; |