Lines Matching refs:empty_slot
4312 int empty_slot = Smi::ToInt(empty_slot_index(*array));
4314 if (empty_slot == kNoEmptySlotsMarker) {
4317 empty_slot = Smi::ToInt(empty_slot_index(*array));
4320 if (empty_slot != kNoEmptySlotsMarker) {
4321 DCHECK_GE(empty_slot, kFirstIndex);
4322 CHECK_LT(empty_slot, array->length());
4323 int next_empty_slot = array->Get(empty_slot).ToSmi().value();
4325 array->Set(empty_slot, HeapObjectReference::Weak(*value));
4326 if (assigned_index != nullptr) *assigned_index = empty_slot;
4331 DCHECK_EQ(empty_slot, kNoEmptySlotsMarker);