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

#include <frame-description.h>

Collaboration diagram for v8::internal::FrameDescription:

Public Member Functions

void operator delete (void *description)
 
uint32_t GetFrameSize () const
 
intptr_t GetFrameSlot (unsigned offset)
 
unsigned GetLastArgumentSlotOffset (bool pad_arguments=true)
 
Address GetFramePointerAddress ()
 
RegisterValuesGetRegisterValues ()
 
void SetFrameSlot (unsigned offset, intptr_t value)
 
void SetLiftoffFrameSlot32 (unsigned offset, int32_t value)
 
void SetLiftoffFrameSlot64 (unsigned offset, int64_t value)
 
void SetLiftoffFrameSlotPointer (unsigned offset, intptr_t value)
 
void SetCallerPc (unsigned offset, intptr_t value)
 
void SetCallerFp (unsigned offset, intptr_t value)
 
void SetCallerConstantPool (unsigned offset, intptr_t value)
 
intptr_t GetRegister (unsigned n) const
 
Float64 GetDoubleRegister (unsigned n) const
 
void SetRegister (unsigned n, intptr_t value)
 
void SetDoubleRegister (unsigned n, Float64 value)
 
void SetSimd128Register (unsigned n, Simd128 value)
 
intptr_t GetTop () const
 
void SetTop (intptr_t top)
 
intptr_t GetPc () const
 
void SetPc (intptr_t pc)
 
intptr_t GetFp () const
 
void SetFp (intptr_t frame_pointer)
 
intptr_t GetConstantPool () const
 
void SetConstantPool (intptr_t constant_pool)
 
bool HasCallerPc () const
 
intptr_t GetCallerPc () const
 
void SetContinuation (intptr_t pc)
 
intptr_t GetContinuation () const
 
int parameter_count ()
 

Static Public Member Functions

static FrameDescriptionCreate (uint32_t frame_size, int parameter_count, Isolate *isolate)
 
static int registers_offset ()
 
static constexpr int simd128_registers_offset ()
 
static int frame_size_offset ()
 
static int pc_offset ()
 
static int continuation_offset ()
 
static int frame_content_offset ()
 

Private Member Functions

 FrameDescription (uint32_t frame_size, int parameter_count, Isolate *isolate)
 
void * operator new (size_t size, uint32_t frame_size)
 
intptr_t * GetFrameSlotPointer (unsigned offset)
 

Private Attributes

uintptr_t frame_size_
 
int parameter_count_
 
RegisterValues register_values_
 
intptr_t top_
 
intptr_t pc_
 
intptr_t fp_
 
intptr_t constant_pool_
 
intptr_t caller_pc_ = 0
 
Isolateisolate_
 
intptr_t continuation_
 
intptr_t frame_content_ [1]
 

Static Private Attributes

static const uint32_t kZapUint32 = 0xbeeddead
 

Detailed Description

Definition at line 67 of file frame-description.h.

Constructor & Destructor Documentation

◆ FrameDescription()

v8::internal::FrameDescription::FrameDescription ( uint32_t frame_size,
int parameter_count,
Isolate * isolate )
inlineprivate

Definition at line 211 of file frame-description.h.

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

Member Function Documentation

◆ continuation_offset()

static int v8::internal::FrameDescription::continuation_offset ( )
inlinestatic

Definition at line 202 of file frame-description.h.

◆ Create()

static FrameDescription * v8::internal::FrameDescription::Create ( uint32_t frame_size,
int parameter_count,
Isolate * isolate )
inlinestatic

Definition at line 69 of file frame-description.h.

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

◆ frame_content_offset()

static int v8::internal::FrameDescription::frame_content_offset ( )
inlinestatic

Definition at line 206 of file frame-description.h.

Here is the caller graph for this function:

◆ frame_size_offset()

static int v8::internal::FrameDescription::frame_size_offset ( )
inlinestatic

Definition at line 196 of file frame-description.h.

◆ GetCallerPc()

intptr_t v8::internal::FrameDescription::GetCallerPc ( ) const
inline

Definition at line 174 of file frame-description.h.

Here is the caller graph for this function:

◆ GetConstantPool()

intptr_t v8::internal::FrameDescription::GetConstantPool ( ) const
inline

Definition at line 168 of file frame-description.h.

Here is the caller graph for this function:

◆ GetContinuation()

intptr_t v8::internal::FrameDescription::GetContinuation ( ) const
inline

Definition at line 177 of file frame-description.h.

Here is the caller graph for this function:

◆ GetDoubleRegister()

Float64 v8::internal::FrameDescription::GetDoubleRegister ( unsigned n) const
inline

Definition at line 143 of file frame-description.h.

Here is the call graph for this function:

◆ GetFp()

intptr_t v8::internal::FrameDescription::GetFp ( ) const
inline

Definition at line 165 of file frame-description.h.

Here is the caller graph for this function:

◆ GetFramePointerAddress()

Address v8::internal::FrameDescription::GetFramePointerAddress ( )
inline

Definition at line 95 of file frame-description.h.

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

◆ GetFrameSize()

uint32_t v8::internal::FrameDescription::GetFrameSize ( ) const
inline

Definition at line 77 of file frame-description.h.

Here is the caller graph for this function:

◆ GetFrameSlot()

intptr_t v8::internal::FrameDescription::GetFrameSlot ( unsigned offset)
inline

Definition at line 83 of file frame-description.h.

Here is the call graph for this function:

◆ GetFrameSlotPointer()

intptr_t * v8::internal::FrameDescription::GetFrameSlotPointer ( unsigned offset)
inlineprivate

Definition at line 273 of file frame-description.h.

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

◆ GetLastArgumentSlotOffset()

unsigned v8::internal::FrameDescription::GetLastArgumentSlotOffset ( bool pad_arguments = true)
inline

Definition at line 87 of file frame-description.h.

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

◆ GetPc()

intptr_t v8::internal::FrameDescription::GetPc ( ) const
inline

Definition at line 162 of file frame-description.h.

Here is the caller graph for this function:

◆ GetRegister()

intptr_t v8::internal::FrameDescription::GetRegister ( unsigned n) const
inline

Definition at line 139 of file frame-description.h.

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

◆ GetRegisterValues()

RegisterValues * v8::internal::FrameDescription::GetRegisterValues ( )
inline

Definition at line 105 of file frame-description.h.

Here is the caller graph for this function:

◆ GetTop()

intptr_t v8::internal::FrameDescription::GetTop ( ) const
inline

Definition at line 159 of file frame-description.h.

Here is the caller graph for this function:

◆ HasCallerPc()

bool v8::internal::FrameDescription::HasCallerPc ( ) const
inline

Definition at line 173 of file frame-description.h.

◆ operator delete()

void v8::internal::FrameDescription::operator delete ( void * description)
inline

Definition at line 75 of file frame-description.h.

Here is the call graph for this function:

◆ operator new()

void * v8::internal::FrameDescription::operator new ( size_t size,
uint32_t frame_size )
inlineprivate

Definition at line 243 of file frame-description.h.

Here is the call graph for this function:

◆ parameter_count()

int v8::internal::FrameDescription::parameter_count ( )
inline

Definition at line 180 of file frame-description.h.

Here is the caller graph for this function:

◆ pc_offset()

static int v8::internal::FrameDescription::pc_offset ( )
inlinestatic

Definition at line 200 of file frame-description.h.

◆ registers_offset()

static int v8::internal::FrameDescription::registers_offset ( )
inlinestatic

Definition at line 182 of file frame-description.h.

◆ SetCallerConstantPool()

void v8::internal::FrameDescription::SetCallerConstantPool ( unsigned offset,
intptr_t value )

Definition at line 56 of file deoptimizer-arm.cc.

Here is the call graph for this function:

◆ SetCallerFp()

void v8::internal::FrameDescription::SetCallerFp ( unsigned offset,
intptr_t value )

Definition at line 52 of file deoptimizer-arm.cc.

Here is the call graph for this function:

◆ SetCallerPc()

void v8::internal::FrameDescription::SetCallerPc ( unsigned offset,
intptr_t value )

Definition at line 48 of file deoptimizer-arm.cc.

Here is the call graph for this function:

◆ SetConstantPool()

void v8::internal::FrameDescription::SetConstantPool ( intptr_t constant_pool)
inline

Definition at line 169 of file frame-description.h.

Here is the caller graph for this function:

◆ SetContinuation()

void v8::internal::FrameDescription::SetContinuation ( intptr_t pc)
inline

Definition at line 176 of file frame-description.h.

Here is the caller graph for this function:

◆ SetDoubleRegister()

void v8::internal::FrameDescription::SetDoubleRegister ( unsigned n,
Float64 value )
inline

Definition at line 151 of file frame-description.h.

Here is the call graph for this function:

◆ SetFp()

void v8::internal::FrameDescription::SetFp ( intptr_t frame_pointer)
inline

Definition at line 166 of file frame-description.h.

Here is the caller graph for this function:

◆ SetFrameSlot()

void v8::internal::FrameDescription::SetFrameSlot ( unsigned offset,
intptr_t value )
inline

Definition at line 107 of file frame-description.h.

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

◆ SetLiftoffFrameSlot32()

void v8::internal::FrameDescription::SetLiftoffFrameSlot32 ( unsigned offset,
int32_t value )
inline

Definition at line 113 of file frame-description.h.

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

◆ SetLiftoffFrameSlot64()

void v8::internal::FrameDescription::SetLiftoffFrameSlot64 ( unsigned offset,
int64_t value )
inline

Definition at line 120 of file frame-description.h.

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

◆ SetLiftoffFrameSlotPointer()

void v8::internal::FrameDescription::SetLiftoffFrameSlotPointer ( unsigned offset,
intptr_t value )
inline

Definition at line 125 of file frame-description.h.

Here is the call graph for this function:

◆ SetPc()

void v8::internal::FrameDescription::SetPc ( intptr_t pc)

Definition at line 61 of file deoptimizer-arm.cc.

Here is the caller graph for this function:

◆ SetRegister()

void v8::internal::FrameDescription::SetRegister ( unsigned n,
intptr_t value )
inline

Definition at line 147 of file frame-description.h.

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

◆ SetSimd128Register()

void v8::internal::FrameDescription::SetSimd128Register ( unsigned n,
Simd128 value )
inline

Definition at line 155 of file frame-description.h.

Here is the call graph for this function:

◆ SetTop()

void v8::internal::FrameDescription::SetTop ( intptr_t top)
inline

Definition at line 160 of file frame-description.h.

Here is the caller graph for this function:

◆ simd128_registers_offset()

static constexpr int v8::internal::FrameDescription::simd128_registers_offset ( )
inlinestaticconstexpr

Definition at line 192 of file frame-description.h.

Member Data Documentation

◆ caller_pc_

intptr_t v8::internal::FrameDescription::caller_pc_ = 0
private

Definition at line 261 of file frame-description.h.

◆ constant_pool_

intptr_t v8::internal::FrameDescription::constant_pool_
private

Definition at line 260 of file frame-description.h.

◆ continuation_

intptr_t v8::internal::FrameDescription::continuation_
private

Definition at line 267 of file frame-description.h.

◆ fp_

intptr_t v8::internal::FrameDescription::fp_
private

Definition at line 259 of file frame-description.h.

◆ frame_content_

intptr_t v8::internal::FrameDescription::frame_content_[1]
private

Definition at line 271 of file frame-description.h.

◆ frame_size_

uintptr_t v8::internal::FrameDescription::frame_size_
private

Definition at line 254 of file frame-description.h.

◆ isolate_

Isolate* v8::internal::FrameDescription::isolate_
private

Definition at line 263 of file frame-description.h.

◆ kZapUint32

const uint32_t v8::internal::FrameDescription::kZapUint32 = 0xbeeddead
staticprivate

Definition at line 249 of file frame-description.h.

◆ parameter_count_

int v8::internal::FrameDescription::parameter_count_
private

Definition at line 255 of file frame-description.h.

◆ pc_

intptr_t v8::internal::FrameDescription::pc_
private

Definition at line 258 of file frame-description.h.

◆ register_values_

RegisterValues v8::internal::FrameDescription::register_values_
private

Definition at line 256 of file frame-description.h.

◆ top_

intptr_t v8::internal::FrameDescription::top_
private

Definition at line 257 of file frame-description.h.


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