Searched refs:empty_slot (Results 1 – 2 of 2) sorted by relevance
1712 int empty_slot = Smi::ToInt(empty_slot_index(array)); in Verify() local1714 while (empty_slot != kNoEmptySlotsMarker) { in Verify()1715 CHECK_GT(empty_slot, 0); in Verify()1716 CHECK_LT(empty_slot, array.length()); in Verify()1717 empty_slot = array.Get(empty_slot).ToSmi().value(); in Verify()
4312 int empty_slot = Smi::ToInt(empty_slot_index(*array)); in Add() local4314 if (empty_slot == kNoEmptySlotsMarker) { in Add()4317 empty_slot = Smi::ToInt(empty_slot_index(*array)); in Add()4320 if (empty_slot != kNoEmptySlotsMarker) { in Add()4321 DCHECK_GE(empty_slot, kFirstIndex); in Add()4322 CHECK_LT(empty_slot, array->length()); in Add()4323 int next_empty_slot = array->Get(empty_slot).ToSmi().value(); in Add()4325 array->Set(empty_slot, HeapObjectReference::Weak(*value)); in Add()4326 if (assigned_index != nullptr) *assigned_index = empty_slot; in Add()4331 DCHECK_EQ(empty_slot, kNoEmptySlotsMarker); in Add()