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

Public Member Functions

 ConstantPoolPointerForwarder (PtrComprCageBase cage_base, LocalHeap *local_heap, DirectHandle< Script > old_script)
 
void AddBytecodeArray (Tagged< BytecodeArray > bytecode_array)
 
void RecordScopeInfos (Tagged< MaybeObject > maybe_old_info)
 
void RecordScopeInfos (Tagged< HeapObject > info)
 
void IterateAndForwardPointers ()
 
void set_has_shared_function_info_to_forward ()
 
bool HasAnythingToForward () const
 
bool InstallOwnScopeInfo (Tagged< SharedFunctionInfo > sfi)
 
void UpdateScopeInfo (Tagged< SharedFunctionInfo > sfi)
 

Private Member Functions

void VerifyScopeInfo (Tagged< ScopeInfo > scope_info, Tagged< ScopeInfo > replacement)
 
template<typename TArray >
void IterateConstantPoolEntry (Tagged< TArray > constant_pool, int i)
 
template<typename TArray >
void VisitSharedFunctionInfo (Tagged< TArray > constant_pool, int i, Tagged< SharedFunctionInfo > sfi)
 
template<typename TArray >
void VisitScopeInfo (Tagged< TArray > constant_pool, int i, Tagged< ScopeInfo > scope_info)
 
void IterateConstantPool (Tagged< TrustedFixedArray > constant_pool)
 
void IterateConstantPoolNestedArray (Tagged< FixedArray > nested_array)
 

Private Attributes

PtrComprCageBase cage_base_
 
LocalHeaplocal_heap_
 
DirectHandle< Scriptold_script_
 
std::vector< IndirectHandle< BytecodeArray > > bytecode_arrays_to_update_
 
bool has_shared_function_info_to_forward_ = false
 
std::unordered_map< int, IndirectHandle< ScopeInfo > > scope_infos_to_update_
 

Detailed Description

Definition at line 2071 of file compiler.cc.

Constructor & Destructor Documentation

◆ ConstantPoolPointerForwarder()

v8::internal::ConstantPoolPointerForwarder::ConstantPoolPointerForwarder ( PtrComprCageBase cage_base,
LocalHeap * local_heap,
DirectHandle< Script > old_script )
inlineexplicit

Definition at line 2073 of file compiler.cc.

Member Function Documentation

◆ AddBytecodeArray()

void v8::internal::ConstantPoolPointerForwarder::AddBytecodeArray ( Tagged< BytecodeArray > bytecode_array)
inline

Definition at line 2080 of file compiler.cc.

Here is the caller graph for this function:

◆ HasAnythingToForward()

bool v8::internal::ConstantPoolPointerForwarder::HasAnythingToForward ( ) const
inline

Definition at line 2143 of file compiler.cc.

Here is the caller graph for this function:

◆ InstallOwnScopeInfo()

bool v8::internal::ConstantPoolPointerForwarder::InstallOwnScopeInfo ( Tagged< SharedFunctionInfo > sfi)
inline

Definition at line 2154 of file compiler.cc.

Here is the caller graph for this function:

◆ IterateAndForwardPointers()

void v8::internal::ConstantPoolPointerForwarder::IterateAndForwardPointers ( )
inline

Definition at line 2130 of file compiler.cc.

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

◆ IterateConstantPool()

void v8::internal::ConstantPoolPointerForwarder::IterateConstantPool ( Tagged< TrustedFixedArray > constant_pool)
inlineprivate

Definition at line 2256 of file compiler.cc.

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

◆ IterateConstantPoolEntry()

template<typename TArray >
void v8::internal::ConstantPoolPointerForwarder::IterateConstantPoolEntry ( Tagged< TArray > constant_pool,
int i )
inlineprivate

Definition at line 2202 of file compiler.cc.

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

◆ IterateConstantPoolNestedArray()

void v8::internal::ConstantPoolPointerForwarder::IterateConstantPoolNestedArray ( Tagged< FixedArray > nested_array)
inlineprivate

Definition at line 2262 of file compiler.cc.

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

◆ RecordScopeInfos() [1/2]

void v8::internal::ConstantPoolPointerForwarder::RecordScopeInfos ( Tagged< HeapObject > info)
inline

Definition at line 2091 of file compiler.cc.

Here is the call graph for this function:

◆ RecordScopeInfos() [2/2]

void v8::internal::ConstantPoolPointerForwarder::RecordScopeInfos ( Tagged< MaybeObject > maybe_old_info)
inline

Definition at line 2085 of file compiler.cc.

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

◆ set_has_shared_function_info_to_forward()

void v8::internal::ConstantPoolPointerForwarder::set_has_shared_function_info_to_forward ( )
inline

Definition at line 2139 of file compiler.cc.

Here is the caller graph for this function:

◆ UpdateScopeInfo()

void v8::internal::ConstantPoolPointerForwarder::UpdateScopeInfo ( Tagged< SharedFunctionInfo > sfi)
inline

Definition at line 2167 of file compiler.cc.

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

◆ VerifyScopeInfo()

void v8::internal::ConstantPoolPointerForwarder::VerifyScopeInfo ( Tagged< ScopeInfo > scope_info,
Tagged< ScopeInfo > replacement )
inlineprivate

Definition at line 2195 of file compiler.cc.

Here is the caller graph for this function:

◆ VisitScopeInfo()

template<typename TArray >
void v8::internal::ConstantPoolPointerForwarder::VisitScopeInfo ( Tagged< TArray > constant_pool,
int i,
Tagged< ScopeInfo > scope_info )
inlineprivate

Definition at line 2233 of file compiler.cc.

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

◆ VisitSharedFunctionInfo()

template<typename TArray >
void v8::internal::ConstantPoolPointerForwarder::VisitSharedFunctionInfo ( Tagged< TArray > constant_pool,
int i,
Tagged< SharedFunctionInfo > sfi )
inlineprivate

Definition at line 2222 of file compiler.cc.

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

Member Data Documentation

◆ bytecode_arrays_to_update_

std::vector<IndirectHandle<BytecodeArray> > v8::internal::ConstantPoolPointerForwarder::bytecode_arrays_to_update_
private

Definition at line 2271 of file compiler.cc.

◆ cage_base_

PtrComprCageBase v8::internal::ConstantPoolPointerForwarder::cage_base_
private

Definition at line 2268 of file compiler.cc.

◆ has_shared_function_info_to_forward_

bool v8::internal::ConstantPoolPointerForwarder::has_shared_function_info_to_forward_ = false
private

Definition at line 2274 of file compiler.cc.

◆ local_heap_

LocalHeap* v8::internal::ConstantPoolPointerForwarder::local_heap_
private

Definition at line 2269 of file compiler.cc.

◆ old_script_

DirectHandle<Script> v8::internal::ConstantPoolPointerForwarder::old_script_
private

Definition at line 2270 of file compiler.cc.

◆ scope_infos_to_update_

std::unordered_map<int, IndirectHandle<ScopeInfo> > v8::internal::ConstantPoolPointerForwarder::scope_infos_to_update_
private

Definition at line 2275 of file compiler.cc.


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