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

#include <bytecode-jump-table.h>

Inheritance diagram for v8::internal::interpreter::BytecodeJumpTable:
Collaboration diagram for v8::internal::interpreter::BytecodeJumpTable:

Public Member Functions

 BytecodeJumpTable (size_t constant_pool_index, int size, int case_value_base, Zone *zone)
 
size_t constant_pool_index () const
 
size_t switch_bytecode_offset () const
 
int case_value_base () const
 
int size () const
 
size_t ConstantPoolEntryFor (int case_value)
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Member Functions

void mark_bound (int case_value)
 
void set_switch_bytecode_offset (size_t offset)
 

Private Attributes

size_t constant_pool_index_
 
size_t switch_bytecode_offset_
 
int size_
 
int case_value_base_
 

Static Private Attributes

static const size_t kInvalidIndex = static_cast<size_t>(-1)
 
static const size_t kInvalidOffset = static_cast<size_t>(-1)
 

Friends

class BytecodeArrayWriter
 

Detailed Description

Definition at line 20 of file bytecode-jump-table.h.

Constructor & Destructor Documentation

◆ BytecodeJumpTable()

v8::internal::interpreter::BytecodeJumpTable::BytecodeJumpTable ( size_t constant_pool_index,
int size,
int case_value_base,
Zone * zone )
inline

Definition at line 25 of file bytecode-jump-table.h.

Member Function Documentation

◆ case_value_base()

int v8::internal::interpreter::BytecodeJumpTable::case_value_base ( ) const
inline

Definition at line 39 of file bytecode-jump-table.h.

Here is the caller graph for this function:

◆ constant_pool_index()

size_t v8::internal::interpreter::BytecodeJumpTable::constant_pool_index ( ) const
inline

Definition at line 37 of file bytecode-jump-table.h.

Here is the caller graph for this function:

◆ ConstantPoolEntryFor()

size_t v8::internal::interpreter::BytecodeJumpTable::ConstantPoolEntryFor ( int case_value)
inline

Definition at line 49 of file bytecode-jump-table.h.

Here is the caller graph for this function:

◆ mark_bound()

void v8::internal::interpreter::BytecodeJumpTable::mark_bound ( int case_value)
inlineprivate

Definition at line 58 of file bytecode-jump-table.h.

Here is the caller graph for this function:

◆ set_switch_bytecode_offset()

void v8::internal::interpreter::BytecodeJumpTable::set_switch_bytecode_offset ( size_t offset)
inlineprivate

Definition at line 66 of file bytecode-jump-table.h.

Here is the caller graph for this function:

◆ size()

int v8::internal::interpreter::BytecodeJumpTable::size ( ) const
inline

Definition at line 40 of file bytecode-jump-table.h.

Here is the caller graph for this function:

◆ switch_bytecode_offset()

size_t v8::internal::interpreter::BytecodeJumpTable::switch_bytecode_offset ( ) const
inline

Definition at line 38 of file bytecode-jump-table.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ BytecodeArrayWriter

friend class BytecodeArrayWriter
friend

Definition at line 81 of file bytecode-jump-table.h.

Member Data Documentation

◆ case_value_base_

int v8::internal::interpreter::BytecodeJumpTable::case_value_base_
private

Definition at line 79 of file bytecode-jump-table.h.

◆ constant_pool_index_

size_t v8::internal::interpreter::BytecodeJumpTable::constant_pool_index_
private

Definition at line 76 of file bytecode-jump-table.h.

◆ kInvalidIndex

const size_t v8::internal::interpreter::BytecodeJumpTable::kInvalidIndex = static_cast<size_t>(-1)
staticprivate

Definition at line 55 of file bytecode-jump-table.h.

◆ kInvalidOffset

const size_t v8::internal::interpreter::BytecodeJumpTable::kInvalidOffset = static_cast<size_t>(-1)
staticprivate

Definition at line 56 of file bytecode-jump-table.h.

◆ size_

int v8::internal::interpreter::BytecodeJumpTable::size_
private

Definition at line 78 of file bytecode-jump-table.h.

◆ switch_bytecode_offset_

size_t v8::internal::interpreter::BytecodeJumpTable::switch_bytecode_offset_
private

Definition at line 77 of file bytecode-jump-table.h.


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