#include "src/utils/identity-map.h"
#include "src/base/functional.h"
#include "src/base/logging.h"
#include "src/heap/heap.h"
#include "src/roots/roots-inl.h"
namespace v8 {
namespace internal {
static const int kInitialIdentityMapSize = …;
static const int kResizeFactor = …;
IdentityMapBase::~IdentityMapBase() { … }
void IdentityMapBase::Clear() { … }
void IdentityMapBase::EnableIteration() { … }
void IdentityMapBase::DisableIteration() { … }
std::pair<int, bool> IdentityMapBase::ScanKeysFor(Address address,
uint32_t hash) const { … }
bool IdentityMapBase::ShouldGrow() const { … }
std::pair<int, bool> IdentityMapBase::InsertKey(Address address,
uint32_t hash) { … }
bool IdentityMapBase::DeleteIndex(int index, uintptr_t* deleted_value) { … }
int IdentityMapBase::Lookup(Address key) const { … }
std::pair<int, bool> IdentityMapBase::LookupOrInsert(Address key) { … }
uint32_t IdentityMapBase::Hash(Address address) const { … }
IdentityMapFindResult<uintptr_t> IdentityMapBase::FindOrInsertEntry(
Address key) { … }
IdentityMapBase::RawEntry IdentityMapBase::FindEntry(Address key) const { … }
IdentityMapBase::RawEntry IdentityMapBase::InsertEntry(Address key) { … }
bool IdentityMapBase::DeleteEntry(Address key, uintptr_t* deleted_value) { … }
Address IdentityMapBase::KeyAtIndex(int index) const { … }
IdentityMapBase::RawEntry IdentityMapBase::EntryAtIndex(int index) const { … }
int IdentityMapBase::NextIndex(int index) const { … }
void IdentityMapBase::Rehash() { … }
void IdentityMapBase::Resize(int new_capacity) { … }
}
}