v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::SharedToCounterMap Class Reference
Inheritance diagram for v8::internal::SharedToCounterMap:
Collaboration diagram for v8::internal::SharedToCounterMap:

Public Types

using Entry
 
- Public Types inherited from v8::base::TemplateHashMapImpl< Tagged< SharedFunctionInfo >, uint32_t, base::KeyEqualityMatcher< Tagged< Object > >, base::DefaultAllocationPolicy >
using Entry
 

Public Member Functions

void Add (Tagged< SharedFunctionInfo > key, uint32_t count)
 
uint32_t Get (Tagged< SharedFunctionInfo > key)
 
- Public Member Functions inherited from v8::base::TemplateHashMapImpl< Tagged< SharedFunctionInfo >, uint32_t, base::KeyEqualityMatcher< Tagged< Object > >, base::DefaultAllocationPolicy >
 TemplateHashMapImpl (uint32_t capacity=kDefaultHashMapCapacity, base::KeyEqualityMatcher< Tagged< Object > > match=base::KeyEqualityMatcher< Tagged< Object > >(), base::DefaultAllocationPolicy allocator=base::DefaultAllocationPolicy())
 
 TemplateHashMapImpl (const TemplateHashMapImpl &)=delete
 
 TemplateHashMapImpl (const TemplateHashMapImpl *original, base::DefaultAllocationPolicy allocator=base::DefaultAllocationPolicy())
 
 TemplateHashMapImpl (TemplateHashMapImpl &&other) V8_NOEXCEPT=default
 
TemplateHashMapImploperator= (const TemplateHashMapImpl &)=delete
 
TemplateHashMapImploperator= (TemplateHashMapImpl &&other) V8_NOEXCEPT=default
 
 ~TemplateHashMapImpl ()
 
EntryLookup (const Tagged< SharedFunctionInfo > &key, uint32_t hash) const
 
EntryLookupOrInsert (const Tagged< SharedFunctionInfo > &key, uint32_t hash)
 
EntryLookupOrInsert (const Tagged< SharedFunctionInfo > &key, uint32_t hash, const Func &value_func)
 
EntryLookupOrInsert (const LookupKey &lookup_key, uint32_t hash, const KeyFunc &key_func, const ValueFunc &value_func)
 
EntryInsertNew (const Tagged< SharedFunctionInfo > &key, uint32_t hash)
 
uint32_t Remove (const Tagged< SharedFunctionInfo > &key, uint32_t hash)
 
void Clear ()
 
void Invalidate ()
 
uint32_t occupancy () const
 
uint32_t capacity () const
 
EntryStart () const
 
EntryNext (Entry *entry) const
 
base::DefaultAllocationPolicy allocator () const
 

Static Private Member Functions

static uint32_t Hash (Tagged< SharedFunctionInfo > key)
 

Additional Inherited Members

- Static Public Attributes inherited from v8::base::TemplateHashMapImpl< Tagged< SharedFunctionInfo >, uint32_t, base::KeyEqualityMatcher< Tagged< Object > >, base::DefaultAllocationPolicy >
static const uint32_t kDefaultHashMapCapacity
 
- Protected Member Functions inherited from v8::base::TemplateHashMapImpl< Tagged< SharedFunctionInfo >, uint32_t, base::KeyEqualityMatcher< Tagged< Object > >, base::DefaultAllocationPolicy >
void Initialize (uint32_t capacity)
 

Detailed Description

Definition at line 20 of file debug-coverage.cc.

Member Typedef Documentation

◆ Entry

Initial value:
base::TemplateHashMapEntry<Tagged<SharedFunctionInfo>, uint32_t>

Definition at line 25 of file debug-coverage.cc.

Member Function Documentation

◆ Add()

void v8::internal::SharedToCounterMap::Add ( Tagged< SharedFunctionInfo > key,
uint32_t count )
inline

Definition at line 27 of file debug-coverage.cc.

Here is the call graph for this function:

◆ Get()

uint32_t v8::internal::SharedToCounterMap::Get ( Tagged< SharedFunctionInfo > key)
inline

Definition at line 37 of file debug-coverage.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Hash()

static uint32_t v8::internal::SharedToCounterMap::Hash ( Tagged< SharedFunctionInfo > key)
inlinestaticprivate

Definition at line 44 of file debug-coverage.cc.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: