Home | History | Annotate | Download | only in src

Lines Matching refs:elements

1477   Object* elements = AllocateFixedArray(2);
1478 if (elements->IsFailure()) return false;
1479 FixedArray::cast(elements)->set(0, Smi::FromInt(0));
1480 JSObject::cast(obj)->set_elements(FixedArray::cast(elements));
2425 // to a number (eg, Smi::FromInt(0)) and the elements initialized to a
2587 FixedArray* elements = FixedArray::cast(source->elements());
2589 // Update elements if necessary.
2590 if (elements->length()> 0) {
2591 Object* elem = CopyFixedArray(elements);