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

Public Member Functions

 TurboshaftStateObjectDeduplicator (Zone *zone)
 
size_t GetObjectId (uint32_t old_id, ObjectType type)
 
size_t InsertObject (uint32_t old_id, ObjectType type)
 
void InsertDummyForArgumentsElements ()
 

Static Public Attributes

static constexpr size_t kNotDuplicated = std::numeric_limits<size_t>::max()
 

Private Member Functions

ZoneAbslFlatHashMap< uint32_t, uint32_t > & GetMapForType (ObjectType type)
 

Private Attributes

uint32_t next_id_ = 0
 
ZoneAbslFlatHashMap< uint32_t, uint32_t > objects_ids_mapping_
 
ZoneAbslFlatHashMap< uint32_t, uint32_t > string_ids_mapping_
 

Detailed Description

Definition at line 712 of file instruction-selector.cc.

Constructor & Destructor Documentation

◆ TurboshaftStateObjectDeduplicator()

v8::internal::compiler::TurboshaftStateObjectDeduplicator::TurboshaftStateObjectDeduplicator ( Zone * zone)
inlineexplicit

Definition at line 714 of file instruction-selector.cc.

Member Function Documentation

◆ GetMapForType()

ZoneAbslFlatHashMap< uint32_t, uint32_t > & v8::internal::compiler::TurboshaftStateObjectDeduplicator::GetMapForType ( ObjectType type)
inlineprivate

Definition at line 735 of file instruction-selector.cc.

Here is the caller graph for this function:

◆ GetObjectId()

size_t v8::internal::compiler::TurboshaftStateObjectDeduplicator::GetObjectId ( uint32_t old_id,
ObjectType type )
inline

Definition at line 718 of file instruction-selector.cc.

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

◆ InsertDummyForArgumentsElements()

void v8::internal::compiler::TurboshaftStateObjectDeduplicator::InsertDummyForArgumentsElements ( )
inline

Definition at line 732 of file instruction-selector.cc.

Here is the caller graph for this function:

◆ InsertObject()

size_t v8::internal::compiler::TurboshaftStateObjectDeduplicator::InsertObject ( uint32_t old_id,
ObjectType type )
inline

Definition at line 725 of file instruction-selector.cc.

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

Member Data Documentation

◆ kNotDuplicated

size_t v8::internal::compiler::TurboshaftStateObjectDeduplicator::kNotDuplicated = std::numeric_limits<size_t>::max()
staticconstexpr

Definition at line 716 of file instruction-selector.cc.

◆ next_id_

uint32_t v8::internal::compiler::TurboshaftStateObjectDeduplicator::next_id_ = 0
private

Definition at line 743 of file instruction-selector.cc.

◆ objects_ids_mapping_

ZoneAbslFlatHashMap<uint32_t, uint32_t> v8::internal::compiler::TurboshaftStateObjectDeduplicator::objects_ids_mapping_
private

Definition at line 745 of file instruction-selector.cc.

◆ string_ids_mapping_

ZoneAbslFlatHashMap<uint32_t, uint32_t> v8::internal::compiler::TurboshaftStateObjectDeduplicator::string_ids_mapping_
private

Definition at line 746 of file instruction-selector.cc.


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