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

#include <instruction.h>

Inheritance diagram for v8::internal::compiler::FrameStateDescriptor:
Collaboration diagram for v8::internal::compiler::FrameStateDescriptor:

Public Member Functions

 FrameStateDescriptor (Zone *zone, FrameStateType type, BytecodeOffset bailout_id, OutputFrameStateCombine state_combine, uint16_t parameters_count, uint16_t max_arguments, size_t locals_count, size_t stack_count, MaybeIndirectHandle< SharedFunctionInfo > shared_info, MaybeIndirectHandle< BytecodeArray > bytecode_array, FrameStateDescriptor *outer_state=nullptr, uint32_t wasm_liftoff_frame_size=std::numeric_limits< uint32_t >::max(), uint32_t wasm_function_index=std::numeric_limits< uint32_t >::max())
 
FrameStateType type () const
 
BytecodeOffset bailout_id () const
 
OutputFrameStateCombine state_combine () const
 
uint16_t parameters_count () const
 
uint16_t max_arguments () const
 
size_t locals_count () const
 
size_t stack_count () const
 
MaybeIndirectHandle< SharedFunctionInfoshared_info () const
 
MaybeIndirectHandle< BytecodeArraybytecode_array () const
 
FrameStateDescriptorouter_state () const
 
bool HasClosure () const
 
bool HasContext () const
 
size_t GetHeight () const
 
size_t total_conservative_frame_size_in_bytes () const
 
size_t GetSize () const
 
size_t GetTotalSize () const
 
size_t GetFrameCount () const
 
size_t GetJSFrameCount () const
 
uint32_t GetWasmFunctionIndex () const
 
StateValueListGetStateValueDescriptors ()
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Static Public Attributes

static const int kImpossibleValue = 0xdead
 

Private Attributes

FrameStateType type_
 
BytecodeOffset bailout_id_
 
OutputFrameStateCombine frame_state_combine_
 
const uint16_t parameters_count_
 
const uint16_t max_arguments_
 
const size_t locals_count_
 
const size_t stack_count_
 
const size_t total_conservative_frame_size_in_bytes_
 
StateValueList values_
 
MaybeIndirectHandle< SharedFunctionInfo > const shared_info_
 
MaybeIndirectHandle< BytecodeArray > const bytecode_array_
 
FrameStateDescriptor *const outer_state_
 
uint32_t wasm_function_index_
 

Detailed Description

Definition at line 1535 of file instruction.h.

Constructor & Destructor Documentation

◆ FrameStateDescriptor()

v8::internal::compiler::FrameStateDescriptor::FrameStateDescriptor ( Zone * zone,
FrameStateType type,
BytecodeOffset bailout_id,
OutputFrameStateCombine state_combine,
uint16_t parameters_count,
uint16_t max_arguments,
size_t locals_count,
size_t stack_count,
MaybeIndirectHandle< SharedFunctionInfo > shared_info,
MaybeIndirectHandle< BytecodeArray > bytecode_array,
FrameStateDescriptor * outer_state = nullptr,
uint32_t wasm_liftoff_frame_size = std::numeric_limits<uint32_t>::max(),
uint32_t wasm_function_index = std::numeric_limits<uint32_t>::max() )

Definition at line 1228 of file instruction.cc.

Member Function Documentation

◆ bailout_id()

BytecodeOffset v8::internal::compiler::FrameStateDescriptor::bailout_id ( ) const
inline

Definition at line 1548 of file instruction.h.

Here is the caller graph for this function:

◆ bytecode_array()

MaybeIndirectHandle< BytecodeArray > v8::internal::compiler::FrameStateDescriptor::bytecode_array ( ) const
inline

Definition at line 1557 of file instruction.h.

Here is the caller graph for this function:

◆ GetFrameCount()

size_t v8::internal::compiler::FrameStateDescriptor::GetFrameCount ( ) const

Definition at line 1298 of file instruction.cc.

Here is the caller graph for this function:

◆ GetHeight()

size_t v8::internal::compiler::FrameStateDescriptor::GetHeight ( ) const

Definition at line 1253 of file instruction.cc.

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

◆ GetJSFrameCount()

size_t v8::internal::compiler::FrameStateDescriptor::GetJSFrameCount ( ) const

Definition at line 1307 of file instruction.cc.

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

◆ GetSize()

size_t v8::internal::compiler::FrameStateDescriptor::GetSize ( ) const

Definition at line 1284 of file instruction.cc.

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

◆ GetStateValueDescriptors()

StateValueList * v8::internal::compiler::FrameStateDescriptor::GetStateValueDescriptors ( )
inline

Definition at line 1605 of file instruction.h.

Here is the caller graph for this function:

◆ GetTotalSize()

size_t v8::internal::compiler::FrameStateDescriptor::GetTotalSize ( ) const

Definition at line 1289 of file instruction.cc.

Here is the caller graph for this function:

◆ GetWasmFunctionIndex()

uint32_t v8::internal::compiler::FrameStateDescriptor::GetWasmFunctionIndex ( ) const
inline

Definition at line 1600 of file instruction.h.

Here is the caller graph for this function:

◆ HasClosure()

bool v8::internal::compiler::FrameStateDescriptor::HasClosure ( ) const
inline

Definition at line 1561 of file instruction.h.

Here is the caller graph for this function:

◆ HasContext()

bool v8::internal::compiler::FrameStateDescriptor::HasContext ( ) const
inline

Definition at line 1568 of file instruction.h.

Here is the caller graph for this function:

◆ locals_count()

size_t v8::internal::compiler::FrameStateDescriptor::locals_count ( ) const
inline

Definition at line 1552 of file instruction.h.

Here is the caller graph for this function:

◆ max_arguments()

uint16_t v8::internal::compiler::FrameStateDescriptor::max_arguments ( ) const
inline

Definition at line 1551 of file instruction.h.

◆ outer_state()

FrameStateDescriptor * v8::internal::compiler::FrameStateDescriptor::outer_state ( ) const
inline

Definition at line 1560 of file instruction.h.

Here is the caller graph for this function:

◆ parameters_count()

uint16_t v8::internal::compiler::FrameStateDescriptor::parameters_count ( ) const
inline

Definition at line 1550 of file instruction.h.

Here is the caller graph for this function:

◆ shared_info()

MaybeIndirectHandle< SharedFunctionInfo > v8::internal::compiler::FrameStateDescriptor::shared_info ( ) const
inline

Definition at line 1554 of file instruction.h.

Here is the caller graph for this function:

◆ stack_count()

size_t v8::internal::compiler::FrameStateDescriptor::stack_count ( ) const
inline

Definition at line 1553 of file instruction.h.

Here is the caller graph for this function:

◆ state_combine()

OutputFrameStateCombine v8::internal::compiler::FrameStateDescriptor::state_combine ( ) const
inline

Definition at line 1549 of file instruction.h.

Here is the caller graph for this function:

◆ total_conservative_frame_size_in_bytes()

size_t v8::internal::compiler::FrameStateDescriptor::total_conservative_frame_size_in_bytes ( ) const
inline

Definition at line 1591 of file instruction.h.

◆ type()

FrameStateType v8::internal::compiler::FrameStateDescriptor::type ( ) const
inline

Definition at line 1547 of file instruction.h.

Here is the caller graph for this function:

Member Data Documentation

◆ bailout_id_

BytecodeOffset v8::internal::compiler::FrameStateDescriptor::bailout_id_
private

Definition at line 1611 of file instruction.h.

◆ bytecode_array_

MaybeIndirectHandle<BytecodeArray> const v8::internal::compiler::FrameStateDescriptor::bytecode_array_
private

Definition at line 1620 of file instruction.h.

◆ frame_state_combine_

OutputFrameStateCombine v8::internal::compiler::FrameStateDescriptor::frame_state_combine_
private

Definition at line 1612 of file instruction.h.

◆ kImpossibleValue

const int v8::internal::compiler::FrameStateDescriptor::kImpossibleValue = 0xdead
static

Definition at line 1607 of file instruction.h.

◆ locals_count_

const size_t v8::internal::compiler::FrameStateDescriptor::locals_count_
private

Definition at line 1615 of file instruction.h.

◆ max_arguments_

const uint16_t v8::internal::compiler::FrameStateDescriptor::max_arguments_
private

Definition at line 1614 of file instruction.h.

◆ outer_state_

FrameStateDescriptor* const v8::internal::compiler::FrameStateDescriptor::outer_state_
private

Definition at line 1621 of file instruction.h.

◆ parameters_count_

const uint16_t v8::internal::compiler::FrameStateDescriptor::parameters_count_
private

Definition at line 1613 of file instruction.h.

◆ shared_info_

MaybeIndirectHandle<SharedFunctionInfo> const v8::internal::compiler::FrameStateDescriptor::shared_info_
private

Definition at line 1619 of file instruction.h.

◆ stack_count_

const size_t v8::internal::compiler::FrameStateDescriptor::stack_count_
private

Definition at line 1616 of file instruction.h.

◆ total_conservative_frame_size_in_bytes_

const size_t v8::internal::compiler::FrameStateDescriptor::total_conservative_frame_size_in_bytes_
private

Definition at line 1617 of file instruction.h.

◆ type_

FrameStateType v8::internal::compiler::FrameStateDescriptor::type_
private

Definition at line 1610 of file instruction.h.

◆ values_

StateValueList v8::internal::compiler::FrameStateDescriptor::values_
private

Definition at line 1618 of file instruction.h.

◆ wasm_function_index_

uint32_t v8::internal::compiler::FrameStateDescriptor::wasm_function_index_
private

Definition at line 1622 of file instruction.h.


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