Lines Matching defs:elements
1329 // Build array literal constant elements
2875 for (int i = 0; i < stmt->elements()->length(); i++) {
2876 ClassLiteral::StaticElement* element = stmt->elements()->at(i);
3352 const ZonePtrList<Expression>* elements, ArrayLiteral* expr) {
3358 ZonePtrList<Expression>::const_iterator current = elements->begin();
3359 ZonePtrList<Expression>::const_iterator end = elements->end();
3360 bool is_empty = elements->is_empty();
3370 // If there are remaning elements, prepare the index register that is
3371 // used for adding those elements. The next index is the length of the
3380 // There are some elements before the first (if any) spread, and we can
3381 // use a boilerplate when creating the initial array from those elements.
3385 // elements before the first spread. This also handle the empty array case
3392 DCHECK(!elements->is_empty());
3396 for (auto iter = elements->begin(); iter != elements->end(); iter++) {
3398 first_spread_index = static_cast<int>(iter - elements->begin());
3404 elements, first_spread_index);
3431 // Insert the missing non-constant elements, up until the first spread
3432 // index, into the initial array (the remaining elements will be inserted
3434 DCHECK_EQ(current, elements->begin());
3451 // If there are remaining elements, prepare the index register
3459 // Now build insertions for the remaining elements from current to end.