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

#include <wasm-objects.h>

Inheritance diagram for v8::internal::WasmScript:
Collaboration diagram for v8::internal::WasmScript:

Static Public Member Functions

static V8_EXPORT_PRIVATE bool SetBreakPoint (DirectHandle< Script >, int *position, DirectHandle< BreakPoint > break_point)
 
static V8_EXPORT_PRIVATE void SetInstrumentationBreakpoint (DirectHandle< Script >, DirectHandle< BreakPoint > break_point)
 
static V8_EXPORT_PRIVATE bool SetBreakPointOnFirstBreakableForFunction (DirectHandle< Script >, int function_index, DirectHandle< BreakPoint > break_point)
 
static V8_EXPORT_PRIVATE bool SetBreakPointForFunction (DirectHandle< Script >, int function_index, int breakable_offset, DirectHandle< BreakPoint > break_point)
 
static V8_EXPORT_PRIVATE bool ClearBreakPoint (DirectHandle< Script >, int position, DirectHandle< BreakPoint > break_point)
 
static V8_EXPORT_PRIVATE bool ClearBreakPointById (DirectHandle< Script >, int breakpoint_id)
 
static void ClearAllBreakpoints (Tagged< Script >)
 
static V8_EXPORT_PRIVATE bool GetPossibleBreakpoints (wasm::NativeModule *native_module, const debug::Location &start, const debug::Location &end, std::vector< debug::BreakLocation > *locations)
 
static MaybeDirectHandle< FixedArrayCheckBreakPoints (Isolate *, DirectHandle< Script >, int position, StackFrameId stack_frame_id)
 

Static Public Attributes

static constexpr int kOnEntryBreakpointPosition = -1
 

Static Private Member Functions

static void AddBreakpointToInfo (DirectHandle< Script >, int position, DirectHandle< BreakPoint > break_point)
 

Detailed Description

Definition at line 1293 of file wasm-objects.h.

Member Function Documentation

◆ AddBreakpointToInfo()

void v8::internal::WasmScript::AddBreakpointToInfo ( DirectHandle< Script > script,
int position,
DirectHandle< BreakPoint > break_point )
staticprivate

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

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

◆ CheckBreakPoints()

MaybeDirectHandle< FixedArray > v8::internal::WasmScript::CheckBreakPoints ( Isolate * isolate,
DirectHandle< Script > script,
int position,
StackFrameId stack_frame_id )
static

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

Here is the call graph for this function:

◆ ClearAllBreakpoints()

void v8::internal::WasmScript::ClearAllBreakpoints ( Tagged< Script > script)
static

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

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

◆ ClearBreakPoint()

bool v8::internal::WasmScript::ClearBreakPoint ( DirectHandle< Script > script,
int position,
DirectHandle< BreakPoint > break_point )
static

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

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

◆ ClearBreakPointById()

bool v8::internal::WasmScript::ClearBreakPointById ( DirectHandle< Script > script,
int breakpoint_id )
static

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

Here is the call graph for this function:

◆ GetPossibleBreakpoints()

bool v8::internal::WasmScript::GetPossibleBreakpoints ( wasm::NativeModule * native_module,
const debug::Location & start,
const debug::Location & end,
std::vector< debug::BreakLocation > * locations )
static

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

Here is the call graph for this function:

◆ SetBreakPoint()

bool v8::internal::WasmScript::SetBreakPoint ( DirectHandle< Script > script,
int * position,
DirectHandle< BreakPoint > break_point )
static

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

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

◆ SetBreakPointForFunction()

bool v8::internal::WasmScript::SetBreakPointForFunction ( DirectHandle< Script > script,
int function_index,
int breakable_offset,
DirectHandle< BreakPoint > break_point )
static

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

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

◆ SetBreakPointOnFirstBreakableForFunction()

bool v8::internal::WasmScript::SetBreakPointOnFirstBreakableForFunction ( DirectHandle< Script > script,
int function_index,
DirectHandle< BreakPoint > break_point )
static

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

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

◆ SetInstrumentationBreakpoint()

void v8::internal::WasmScript::SetInstrumentationBreakpoint ( DirectHandle< Script > script,
DirectHandle< BreakPoint > break_point )
static

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

Here is the call graph for this function:

Member Data Documentation

◆ kOnEntryBreakpointPosition

int v8::internal::WasmScript::kOnEntryBreakpointPosition = -1
staticconstexpr

Definition at line 1297 of file wasm-objects.h.


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