Lines Matching refs:elements
38 #include "elements.h"
1233 FixedArrayBase* JSObject::elements() {
1242 // Don't use elements, since integrity checks will fail if there
1303 MaybeObject* JSObject::EnsureCanContainElements(FixedArrayBase* elements,
1305 if (elements->map() != GetHeap()->fixed_double_array_map()) {
1306 ASSERT(elements->map() == GetHeap()->fixed_array_map() ||
1307 elements->map() == GetHeap()->fixed_cow_array_map());
1311 Object** objects = FixedArray::cast(elements)->GetFirstElementAddress();
1312 return EnsureCanContainElements(objects, elements->length(), mode);
4294 (elements()->IsFixedArray() && elements()->length() >= 2));
4338 HeapObject* array = elements();
4345 bool JSObject::HasExternal##name##Elements() { \
4346 HeapObject* array = elements(); \
4381 FixedArray* elems = FixedArray::cast(elements());
4405 return SeededNumberDictionary::cast(elements());
4739 FixedArray* elts = FixedArray::cast(elements());
4762 bool result = elements()->IsFixedArray() || elements()->IsFixedDoubleArray();