5 #ifndef V8_ELEMENTS_INL_H_ 6 #define V8_ELEMENTS_INL_H_ 8 #include "src/elements.h" 10 #include "src/handles-inl.h" 11 #include "src/objects-inl.h" 16 inline void ElementsAccessor::CollectElementIndices(Handle<JSObject>
object,
17 KeyAccumulator* keys) {
18 CollectElementIndices(
object, handle(object->elements(), keys->isolate()),
22 inline MaybeHandle<FixedArray> ElementsAccessor::PrependElementIndices(
23 Handle<JSObject>
object, Handle<FixedArray> keys, GetKeysConversion convert,
25 return PrependElementIndices(
object,
26 handle(object->elements(),
object->GetIsolate()),
27 keys, convert, filter);
30 inline bool ElementsAccessor::HasElement(JSObject* holder,
uint32_t index,
32 return HasElement(holder, index, holder->elements(), filter);
38 #endif // V8_ELEMENTS_INL_H_