Lines Matching refs:smi
360 virtual HeapEntry* AllocateEntry(Smi smi) = 0;
383 HeapEntry* AllocateEntry(Smi smi) override;
558 // The SmiEntriesMap instance is used to track a mapping between smi and
575 HeapEntry* FindEntry(Smi smi) {
576 auto it = smis_map_.find(smi.value());
608 HeapEntry* AddEntry(Smi smi, HeapEntriesAllocator* allocator) {
609 return smis_map_.emplace(smi.value(), allocator->AllocateEntry(smi))
618 HeapEntry* FindOrAddEntry(Smi smi, HeapEntriesAllocator* allocator) {
619 HeapEntry* entry = FindEntry(smi);
620 return entry != nullptr ? entry : AddEntry(smi, allocator);