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

#include <code-trace-context.h>

Collaboration diagram for v8::internal::CodeTraceContext:

Public Member Functions

 CodeTraceContext (CodeDataSource::TraceContext::TracePacketHandle trace_packet, CodeDataSourceIncrementalState *incremental_state)
 
 CodeTraceContext (CodeTraceContext &&) V8_NOEXCEPT=default
 
 ~CodeTraceContext ()
 
uint64_t InternIsolate (Isolate &isolate)
 
uint64_t InternJsScript (Isolate &isolate, Tagged< Script > script)
 
uint64_t InternJsFunction (Isolate &isolate, DirectHandle< SharedFunctionInfo > info, uint64_t v8_js_script_iid, int line_num, int column_num)
 
perfetto::protos::pbzero::V8JsCode * set_v8_js_code ()
 
perfetto::protos::pbzero::V8InternalCode * set_v8_internal_code ()
 
perfetto::protos::pbzero::V8WasmCode * set_v8_wasm_code ()
 
perfetto::protos::pbzero::V8RegExpCode * set_v8_reg_exp_code ()
 
perfetto::protos::pbzero::V8CodeMove * set_code_move ()
 
bool log_script_sources () const
 
bool log_instructions () const
 

Private Attributes

CodeDataSource::TraceContext::TracePacketHandle trace_packet_
 
CodeDataSourceIncrementalStateincremental_state_
 

Detailed Description

Definition at line 30 of file code-trace-context.h.

Constructor & Destructor Documentation

◆ CodeTraceContext() [1/2]

v8::internal::CodeTraceContext::CodeTraceContext ( CodeDataSource::TraceContext::TracePacketHandle trace_packet,
CodeDataSourceIncrementalState * incremental_state )
inline

Definition at line 32 of file code-trace-context.h.

◆ CodeTraceContext() [2/2]

v8::internal::CodeTraceContext::CodeTraceContext ( CodeTraceContext && )
default

◆ ~CodeTraceContext()

v8::internal::CodeTraceContext::~CodeTraceContext ( )
inline

Definition at line 39 of file code-trace-context.h.

Here is the call graph for this function:

Member Function Documentation

◆ InternIsolate()

uint64_t v8::internal::CodeTraceContext::InternIsolate ( Isolate & isolate)
inline

Definition at line 45 of file code-trace-context.h.

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

◆ InternJsFunction()

uint64_t v8::internal::CodeTraceContext::InternJsFunction ( Isolate & isolate,
DirectHandle< SharedFunctionInfo > info,
uint64_t v8_js_script_iid,
int line_num,
int column_num )
inline

Definition at line 53 of file code-trace-context.h.

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

◆ InternJsScript()

uint64_t v8::internal::CodeTraceContext::InternJsScript ( Isolate & isolate,
Tagged< Script > script )
inline

Definition at line 49 of file code-trace-context.h.

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

◆ log_instructions()

bool v8::internal::CodeTraceContext::log_instructions ( ) const
inline

Definition at line 94 of file code-trace-context.h.

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

◆ log_script_sources()

bool v8::internal::CodeTraceContext::log_script_sources ( ) const
inline

Definition at line 90 of file code-trace-context.h.

Here is the call graph for this function:

◆ set_code_move()

perfetto::protos::pbzero::V8CodeMove * v8::internal::CodeTraceContext::set_code_move ( )
inline

Definition at line 86 of file code-trace-context.h.

Here is the caller graph for this function:

◆ set_v8_internal_code()

perfetto::protos::pbzero::V8InternalCode * v8::internal::CodeTraceContext::set_v8_internal_code ( )
inline

Definition at line 74 of file code-trace-context.h.

Here is the caller graph for this function:

◆ set_v8_js_code()

perfetto::protos::pbzero::V8JsCode * v8::internal::CodeTraceContext::set_v8_js_code ( )
inline

Definition at line 70 of file code-trace-context.h.

Here is the caller graph for this function:

◆ set_v8_reg_exp_code()

perfetto::protos::pbzero::V8RegExpCode * v8::internal::CodeTraceContext::set_v8_reg_exp_code ( )
inline

Definition at line 82 of file code-trace-context.h.

Here is the caller graph for this function:

◆ set_v8_wasm_code()

perfetto::protos::pbzero::V8WasmCode * v8::internal::CodeTraceContext::set_v8_wasm_code ( )
inline

Definition at line 78 of file code-trace-context.h.

Member Data Documentation

◆ incremental_state_

CodeDataSourceIncrementalState& v8::internal::CodeTraceContext::incremental_state_
private

Definition at line 100 of file code-trace-context.h.

◆ trace_packet_

CodeDataSource::TraceContext::TracePacketHandle v8::internal::CodeTraceContext::trace_packet_
private

Definition at line 99 of file code-trace-context.h.


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