Lines Matching defs:elements

179   TNode<FixedArrayBase> elements = LoadElements(object);
180 // If the object has elements, we treat it as slow case.
182 GotoIfNot(IsEmptyFixedArray(elements), &if_call_runtime_with_fast_path);
320 TNode<FixedArrayBase> elements;
321 std::tie(array, elements) = AllocateUninitializedJSArrayWithElements(
324 StoreFixedArrayElement(CAST(elements), 0, next_key, SKIP_WRITE_BARRIER);
325 StoreFixedArrayElement(CAST(elements), 1, value, SKIP_WRITE_BARRIER);
482 // Ensure that the {object} doesn't have any elements.
505 // Allocate a JSArray and copy the elements from the {object_enum_keys}.
507 TNode<FixedArrayBase> elements;
513 std::tie(array, elements) = AllocateUninitializedJSArrayWithElements(
516 CopyFixedArrayElements(PACKED_ELEMENTS, object_enum_keys, elements,
531 // Let the runtime compute the elements.
532 TNode<FixedArray> elements =
534 var_length = LoadObjectField<Smi>(elements, FixedArray::kLengthOffset);
535 var_elements = elements;
541 // Wrap the elements into a proper JSArray and return that.
593 // has any elements.
635 // Allocate a JSArray and copy the elements from the {object_enum_keys}.
637 TNode<FixedArrayBase> elements;
643 std::tie(array, elements) = AllocateUninitializedJSArrayWithElements(
646 CopyFixedArrayElements(PACKED_ELEMENTS, object_enum_keys, elements,
653 // Let the runtime compute the elements and try initializing enum cache.
654 TNode<FixedArray> elements = CAST(CallRuntime(
656 var_length = LoadObjectField<Smi>(elements, FixedArray::kLengthOffset);
657 var_elements = elements;
671 // Let the runtime compute the elements.
672 TNode<FixedArray> elements =
674 var_length = LoadObjectField<Smi>(elements, FixedArray::kLengthOffset);
675 var_elements = elements;
681 // Wrap the elements into a proper JSArray and return that.
1086 // Stay on the fast path only if there are no elements.