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

#include <code-desc.h>

Collaboration diagram for v8::internal::CodeDesc:

Public Member Functions

int body_size () const
 
int instruction_size () const
 
int metadata_size () const
 
int safepoint_table_offset_relative () const
 
int handler_table_offset_relative () const
 
int constant_pool_offset_relative () const
 
int code_comments_offset_relative () const
 
int builtin_jump_table_info_offset_relative () const
 
int unwinding_info_offset_relative () const
 

Static Public Member Functions

static void Initialize (CodeDesc *desc, Assembler *assembler, int safepoint_table_offset, int handler_table_offset, int constant_pool_offset, int code_comments_offset, int builtin_jump_table_info_offset, int reloc_info_offset)
 
static void Verify (const CodeDesc *desc)
 

Public Attributes

uint8_t * buffer = nullptr
 
int buffer_size = 0
 
int instr_size = 0
 
int safepoint_table_offset = 0
 
int safepoint_table_size = 0
 
int handler_table_offset = 0
 
int handler_table_size = 0
 
int constant_pool_offset = 0
 
int constant_pool_size = 0
 
int code_comments_offset = 0
 
int code_comments_size = 0
 
int builtin_jump_table_info_offset = 0
 
int builtin_jump_table_info_size = 0
 
int reloc_offset = 0
 
int reloc_size = 0
 
uint8_t * unwinding_info = nullptr
 
int unwinding_info_size = 0
 
Assemblerorigin = nullptr
 

Detailed Description

Definition at line 30 of file code-desc.h.

Member Function Documentation

◆ body_size()

int v8::internal::CodeDesc::body_size ( ) const
inline

Definition at line 71 of file code-desc.h.

Here is the caller graph for this function:

◆ builtin_jump_table_info_offset_relative()

int v8::internal::CodeDesc::builtin_jump_table_info_offset_relative ( ) const
inline

Definition at line 86 of file code-desc.h.

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

◆ code_comments_offset_relative()

int v8::internal::CodeDesc::code_comments_offset_relative ( ) const
inline

Definition at line 83 of file code-desc.h.

Here is the call graph for this function:

◆ constant_pool_offset_relative()

int v8::internal::CodeDesc::constant_pool_offset_relative ( ) const
inline

Definition at line 80 of file code-desc.h.

Here is the call graph for this function:

◆ handler_table_offset_relative()

int v8::internal::CodeDesc::handler_table_offset_relative ( ) const
inline

Definition at line 77 of file code-desc.h.

Here is the call graph for this function:

◆ Initialize()

void v8::internal::CodeDesc::Initialize ( CodeDesc * desc,
Assembler * assembler,
int safepoint_table_offset,
int handler_table_offset,
int constant_pool_offset,
int code_comments_offset,
int builtin_jump_table_info_offset,
int reloc_info_offset )
static

Definition at line 13 of file code-desc.cc.

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

◆ instruction_size()

int v8::internal::CodeDesc::instruction_size ( ) const
inline

Definition at line 72 of file code-desc.h.

Here is the caller graph for this function:

◆ metadata_size()

int v8::internal::CodeDesc::metadata_size ( ) const
inline

Definition at line 73 of file code-desc.h.

Here is the call graph for this function:

◆ safepoint_table_offset_relative()

int v8::internal::CodeDesc::safepoint_table_offset_relative ( ) const
inline

Definition at line 74 of file code-desc.h.

Here is the call graph for this function:

◆ unwinding_info_offset_relative()

int v8::internal::CodeDesc::unwinding_info_offset_relative ( ) const
inline

Definition at line 100 of file code-desc.h.

Here is the call graph for this function:

◆ Verify()

static void v8::internal::CodeDesc::Verify ( const CodeDesc * desc)
inlinestatic

Definition at line 41 of file code-desc.h.

Here is the caller graph for this function:

Member Data Documentation

◆ buffer

uint8_t* v8::internal::CodeDesc::buffer = nullptr

Definition at line 45 of file code-desc.h.

◆ buffer_size

int v8::internal::CodeDesc::buffer_size = 0

Definition at line 46 of file code-desc.h.

◆ builtin_jump_table_info_offset

int v8::internal::CodeDesc::builtin_jump_table_info_offset = 0

Definition at line 66 of file code-desc.h.

◆ builtin_jump_table_info_size

int v8::internal::CodeDesc::builtin_jump_table_info_size = 0

Definition at line 67 of file code-desc.h.

◆ code_comments_offset

int v8::internal::CodeDesc::code_comments_offset = 0

Definition at line 63 of file code-desc.h.

◆ code_comments_size

int v8::internal::CodeDesc::code_comments_size = 0

Definition at line 64 of file code-desc.h.

◆ constant_pool_offset

int v8::internal::CodeDesc::constant_pool_offset = 0

Definition at line 60 of file code-desc.h.

◆ constant_pool_size

int v8::internal::CodeDesc::constant_pool_size = 0

Definition at line 61 of file code-desc.h.

◆ handler_table_offset

int v8::internal::CodeDesc::handler_table_offset = 0

Definition at line 57 of file code-desc.h.

◆ handler_table_size

int v8::internal::CodeDesc::handler_table_size = 0

Definition at line 58 of file code-desc.h.

◆ instr_size

int v8::internal::CodeDesc::instr_size = 0

Definition at line 50 of file code-desc.h.

◆ origin

Assembler* v8::internal::CodeDesc::origin = nullptr

Definition at line 107 of file code-desc.h.

◆ reloc_offset

int v8::internal::CodeDesc::reloc_offset = 0

Definition at line 93 of file code-desc.h.

◆ reloc_size

int v8::internal::CodeDesc::reloc_size = 0

Definition at line 94 of file code-desc.h.

◆ safepoint_table_offset

int v8::internal::CodeDesc::safepoint_table_offset = 0

Definition at line 54 of file code-desc.h.

◆ safepoint_table_size

int v8::internal::CodeDesc::safepoint_table_size = 0

Definition at line 55 of file code-desc.h.

◆ unwinding_info

uint8_t* v8::internal::CodeDesc::unwinding_info = nullptr

Definition at line 98 of file code-desc.h.

◆ unwinding_info_size

int v8::internal::CodeDesc::unwinding_info_size = 0

Definition at line 99 of file code-desc.h.


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