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

#include <wasm-debug.h>

Collaboration diagram for v8::internal::wasm::DebugSideTable::Entry:

Classes

struct  Value
 

Public Types

enum  Storage : int8_t { kConstant , kRegister , kStack }
 

Public Member Functions

 Entry (int pc_offset, int stack_height, std::vector< Value > changed_values)
 
 Entry (int pc_offset)
 
int pc_offset () const
 
int stack_height () const
 
base::Vector< const Valuechanged_values () const
 
const ValueFindChangedValue (int stack_index) const
 
void Print (std::ostream &) const
 
size_t EstimateCurrentMemoryConsumption () const
 

Private Attributes

int pc_offset_
 
int stack_height_
 
std::vector< Valuechanged_values_
 

Detailed Description

Definition at line 44 of file wasm-debug.h.

Member Enumeration Documentation

◆ Storage

Enumerator
kConstant 
kRegister 
kStack 

Definition at line 46 of file wasm-debug.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

v8::internal::wasm::DebugSideTable::Entry::Entry ( int pc_offset,
int stack_height,
std::vector< Value > changed_values )
inline

Definition at line 78 of file wasm-debug.h.

◆ Entry() [2/2]

v8::internal::wasm::DebugSideTable::Entry::Entry ( int pc_offset)
inlineexplicit

Definition at line 84 of file wasm-debug.h.

Member Function Documentation

◆ changed_values()

base::Vector< const Value > v8::internal::wasm::DebugSideTable::Entry::changed_values ( ) const
inline

Definition at line 91 of file wasm-debug.h.

Here is the call graph for this function:

◆ EstimateCurrentMemoryConsumption()

size_t v8::internal::wasm::DebugSideTable::Entry::EstimateCurrentMemoryConsumption ( ) const

Definition at line 116 of file wasm-debug.cc.

Here is the call graph for this function:

◆ FindChangedValue()

const Value * v8::internal::wasm::DebugSideTable::Entry::FindChangedValue ( int stack_index) const
inline

Definition at line 95 of file wasm-debug.h.

Here is the caller graph for this function:

◆ pc_offset()

int v8::internal::wasm::DebugSideTable::Entry::pc_offset ( ) const
inline

Definition at line 86 of file wasm-debug.h.

Here is the caller graph for this function:

◆ Print()

void v8::internal::wasm::DebugSideTable::Entry::Print ( std::ostream & os) const

Definition at line 96 of file wasm-debug.cc.

◆ stack_height()

int v8::internal::wasm::DebugSideTable::Entry::stack_height ( ) const
inline

Definition at line 89 of file wasm-debug.h.

Here is the caller graph for this function:

Member Data Documentation

◆ changed_values_

std::vector<Value> v8::internal::wasm::DebugSideTable::Entry::changed_values_
private

Definition at line 114 of file wasm-debug.h.

◆ pc_offset_

int v8::internal::wasm::DebugSideTable::Entry::pc_offset_
private

Definition at line 111 of file wasm-debug.h.

◆ stack_height_

int v8::internal::wasm::DebugSideTable::Entry::stack_height_
private

Definition at line 112 of file wasm-debug.h.


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