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

#include <bytecode-offset-iterator.h>

Collaboration diagram for v8::internal::baseline::BytecodeOffsetIterator:

Public Member Functions

 BytecodeOffsetIterator (Handle< TrustedByteArray > mapping_table, Handle< BytecodeArray > bytecodes)
 
 BytecodeOffsetIterator (Tagged< TrustedByteArray > mapping_table, Tagged< BytecodeArray > bytecodes)
 
 ~BytecodeOffsetIterator ()
 
void Advance ()
 
void AdvanceToBytecodeOffset (int bytecode_offset)
 
void AdvanceToPCOffset (Address pc_offset)
 
bool done () const
 
Address current_pc_start_offset () const
 
Address current_pc_end_offset () const
 
int current_bytecode_offset () const
 
void UpdatePointers ()
 

Static Public Member Functions

static void UpdatePointersCallback (void *iterator)
 

Private Member Functions

void Initialize ()
 
int ReadPosition ()
 

Private Attributes

Handle< TrustedByteArraymapping_table_
 
uint8_t * data_start_address_
 
int data_length_
 
int current_index_
 
Address current_pc_start_offset_
 
Address current_pc_end_offset_
 
int current_bytecode_offset_
 
Tagged< BytecodeArraybytecode_handle_storage_
 
interpreter::BytecodeArrayIterator bytecode_iterator_
 
LocalHeaplocal_heap_
 
std::optional< DisallowGarbageCollectionno_gc_
 

Detailed Description

Definition at line 22 of file bytecode-offset-iterator.h.

Constructor & Destructor Documentation

◆ BytecodeOffsetIterator() [1/2]

v8::internal::baseline::BytecodeOffsetIterator::BytecodeOffsetIterator ( Handle< TrustedByteArray > mapping_table,
Handle< BytecodeArray > bytecodes )
explicit

Definition at line 15 of file bytecode-offset-iterator.cc.

Here is the call graph for this function:

◆ BytecodeOffsetIterator() [2/2]

v8::internal::baseline::BytecodeOffsetIterator::BytecodeOffsetIterator ( Tagged< TrustedByteArray > mapping_table,
Tagged< BytecodeArray > bytecodes )
explicit

Definition at line 29 of file bytecode-offset-iterator.cc.

Here is the call graph for this function:

◆ ~BytecodeOffsetIterator()

v8::internal::baseline::BytecodeOffsetIterator::~BytecodeOffsetIterator ( )

Definition at line 45 of file bytecode-offset-iterator.cc.

Here is the call graph for this function:

Member Function Documentation

◆ Advance()

void v8::internal::baseline::BytecodeOffsetIterator::Advance ( )
inline

Definition at line 31 of file bytecode-offset-iterator.h.

◆ AdvanceToBytecodeOffset()

void v8::internal::baseline::BytecodeOffsetIterator::AdvanceToBytecodeOffset ( int bytecode_offset)
inline

Definition at line 39 of file bytecode-offset-iterator.h.

Here is the caller graph for this function:

◆ AdvanceToPCOffset()

void v8::internal::baseline::BytecodeOffsetIterator::AdvanceToPCOffset ( Address pc_offset)
inline

Definition at line 46 of file bytecode-offset-iterator.h.

Here is the caller graph for this function:

◆ current_bytecode_offset()

int v8::internal::baseline::BytecodeOffsetIterator::current_bytecode_offset ( ) const
inline

Definition at line 66 of file bytecode-offset-iterator.h.

Here is the caller graph for this function:

◆ current_pc_end_offset()

Address v8::internal::baseline::BytecodeOffsetIterator::current_pc_end_offset ( ) const
inline

Definition at line 62 of file bytecode-offset-iterator.h.

Here is the caller graph for this function:

◆ current_pc_start_offset()

Address v8::internal::baseline::BytecodeOffsetIterator::current_pc_start_offset ( ) const
inline

Definition at line 58 of file bytecode-offset-iterator.h.

Here is the caller graph for this function:

◆ done()

bool v8::internal::baseline::BytecodeOffsetIterator::done ( ) const
inline

Definition at line 56 of file bytecode-offset-iterator.h.

◆ Initialize()

void v8::internal::baseline::BytecodeOffsetIterator::Initialize ( )
private

Definition at line 51 of file bytecode-offset-iterator.cc.

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

◆ ReadPosition()

int v8::internal::baseline::BytecodeOffsetIterator::ReadPosition ( )
inlineprivate

Definition at line 78 of file bytecode-offset-iterator.h.

Here is the caller graph for this function:

◆ UpdatePointers()

void v8::internal::baseline::BytecodeOffsetIterator::UpdatePointers ( )

Definition at line 59 of file bytecode-offset-iterator.cc.

◆ UpdatePointersCallback()

static void v8::internal::baseline::BytecodeOffsetIterator::UpdatePointersCallback ( void * iterator)
inlinestatic

Definition at line 70 of file bytecode-offset-iterator.h.

Here is the caller graph for this function:

Member Data Documentation

◆ bytecode_handle_storage_

Tagged<BytecodeArray> v8::internal::baseline::BytecodeOffsetIterator::bytecode_handle_storage_
private

Definition at line 89 of file bytecode-offset-iterator.h.

◆ bytecode_iterator_

interpreter::BytecodeArrayIterator v8::internal::baseline::BytecodeOffsetIterator::bytecode_iterator_
private

Definition at line 90 of file bytecode-offset-iterator.h.

◆ current_bytecode_offset_

int v8::internal::baseline::BytecodeOffsetIterator::current_bytecode_offset_
private

Definition at line 88 of file bytecode-offset-iterator.h.

◆ current_index_

int v8::internal::baseline::BytecodeOffsetIterator::current_index_
private

Definition at line 85 of file bytecode-offset-iterator.h.

◆ current_pc_end_offset_

Address v8::internal::baseline::BytecodeOffsetIterator::current_pc_end_offset_
private

Definition at line 87 of file bytecode-offset-iterator.h.

◆ current_pc_start_offset_

Address v8::internal::baseline::BytecodeOffsetIterator::current_pc_start_offset_
private

Definition at line 86 of file bytecode-offset-iterator.h.

◆ data_length_

int v8::internal::baseline::BytecodeOffsetIterator::data_length_
private

Definition at line 84 of file bytecode-offset-iterator.h.

◆ data_start_address_

uint8_t* v8::internal::baseline::BytecodeOffsetIterator::data_start_address_
private

Definition at line 83 of file bytecode-offset-iterator.h.

◆ local_heap_

LocalHeap* v8::internal::baseline::BytecodeOffsetIterator::local_heap_
private

Definition at line 91 of file bytecode-offset-iterator.h.

◆ mapping_table_

Handle<TrustedByteArray> v8::internal::baseline::BytecodeOffsetIterator::mapping_table_
private

Definition at line 82 of file bytecode-offset-iterator.h.

◆ no_gc_

std::optional<DisallowGarbageCollection> v8::internal::baseline::BytecodeOffsetIterator::no_gc_
private

Definition at line 92 of file bytecode-offset-iterator.h.


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