Loading...
Searching...
No Matches
Classes | Public Types | Public Attributes | List of all members
v8::JitCodeEvent Struct Reference

#include <v8-callbacks.h>

Collaboration diagram for v8::JitCodeEvent:
[legend]

Classes

struct  line_info_t
 
struct  name_t
 
struct  wasm_source_info_t
 

Public Types

enum  EventType {
  CODE_ADDED , CODE_MOVED , CODE_REMOVED , CODE_ADD_LINE_POS_INFO ,
  CODE_START_LINE_INFO_RECORDING , CODE_END_LINE_INFO_RECORDING
}
 
enum  PositionType { POSITION , STATEMENT_POSITION }
 
enum  CodeType { BYTE_CODE , JIT_CODE , WASM_CODE }
 

Public Attributes

EventType type
 
CodeType code_type
 
void * code_start
 
size_t code_len
 
Local< UnboundScriptscript
 
void * user_data
 
wasm_source_info_twasm_source_info = nullptr
 
union {
   struct name_t   name
 
   struct line_info_t   line_info
 
   void *   new_code_start
 
}; 
 
Isolateisolate
 

Detailed Description

A JIT code event is issued each time code is added, moved or removed.

Note
removal events are not currently issued.

Member Enumeration Documentation

◆ CodeType

Enumerator
BYTE_CODE 
JIT_CODE 
WASM_CODE 

◆ EventType

Enumerator
CODE_ADDED 
CODE_MOVED 
CODE_REMOVED 
CODE_ADD_LINE_POS_INFO 
CODE_START_LINE_INFO_RECORDING 
CODE_END_LINE_INFO_RECORDING 

◆ PositionType

Enumerator
POSITION 
STATEMENT_POSITION 

Member Data Documentation

◆ 

union { ... } v8::JitCodeEvent::@3

◆ code_len

size_t v8::JitCodeEvent::code_len

◆ code_start

void* v8::JitCodeEvent::code_start

◆ code_type

CodeType v8::JitCodeEvent::code_type

◆ isolate

Isolate* v8::JitCodeEvent::isolate

◆ line_info

struct line_info_t v8::JitCodeEvent::line_info

◆ name

struct name_t v8::JitCodeEvent::name

◆ new_code_start

void* v8::JitCodeEvent::new_code_start

◆ script

Local<UnboundScript> v8::JitCodeEvent::script

◆ type

EventType v8::JitCodeEvent::type

◆ user_data

void* v8::JitCodeEvent::user_data

◆ wasm_source_info

wasm_source_info_t* v8::JitCodeEvent::wasm_source_info = nullptr

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