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

#include <utils.h>

Collaboration diagram for v8::internal::BytecodeOffset:

Public Member Functions

constexpr BytecodeOffset (int id)
 
constexpr int ToInt () const
 
constexpr bool IsNone () const
 
bool operator== (const BytecodeOffset &other) const
 
bool operator!= (const BytecodeOffset &other) const
 

Static Public Member Functions

static constexpr BytecodeOffset None ()
 
static BytecodeOffset ConstructStubCreate ()
 
static BytecodeOffset ConstructStubInvoke ()
 

Private Attributes

int id_
 

Static Private Attributes

static const int kNoneId = -1
 
static const int kFirstBuiltinContinuationId = 1
 

Friends

class Builtins
 
size_t hash_value (BytecodeOffset id)
 
V8_EXPORT_PRIVATE friend std::ostream & operator<< (std::ostream &os, BytecodeOffset id)
 

Detailed Description

Definition at line 670 of file utils.h.

Constructor & Destructor Documentation

◆ BytecodeOffset()

v8::internal::BytecodeOffset::BytecodeOffset ( int id)
inlineexplicitconstexpr

Definition at line 672 of file utils.h.

Here is the caller graph for this function:

Member Function Documentation

◆ ConstructStubCreate()

static BytecodeOffset v8::internal::BytecodeOffset::ConstructStubCreate ( )
inlinestatic

Definition at line 681 of file utils.h.

Here is the call graph for this function:

◆ ConstructStubInvoke()

static BytecodeOffset v8::internal::BytecodeOffset::ConstructStubInvoke ( )
inlinestatic

Definition at line 682 of file utils.h.

Here is the call graph for this function:

◆ IsNone()

bool v8::internal::BytecodeOffset::IsNone ( ) const
inlineconstexpr

Definition at line 684 of file utils.h.

Here is the caller graph for this function:

◆ None()

static constexpr BytecodeOffset v8::internal::BytecodeOffset::None ( )
inlinestaticconstexpr

Definition at line 675 of file utils.h.

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

◆ operator!=()

bool v8::internal::BytecodeOffset::operator!= ( const BytecodeOffset & other) const
inline

Definition at line 688 of file utils.h.

◆ operator==()

bool v8::internal::BytecodeOffset::operator== ( const BytecodeOffset & other) const
inline

Definition at line 685 of file utils.h.

◆ ToInt()

int v8::internal::BytecodeOffset::ToInt ( ) const
inlineconstexpr

Definition at line 673 of file utils.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ Builtins

friend class Builtins
friend

Definition at line 696 of file utils.h.

◆ hash_value

size_t hash_value ( BytecodeOffset id)
friend

Definition at line 30 of file utils.cc.

◆ operator<<

V8_EXPORT_PRIVATE friend std::ostream & operator<< ( std::ostream & os,
BytecodeOffset id )
friend

Definition at line 35 of file utils.cc.

Member Data Documentation

◆ id_

int v8::internal::BytecodeOffset::id_
private

Definition at line 706 of file utils.h.

◆ kFirstBuiltinContinuationId

const int v8::internal::BytecodeOffset::kFirstBuiltinContinuationId = 1
staticprivate

Definition at line 704 of file utils.h.

◆ kNoneId

const int v8::internal::BytecodeOffset::kNoneId = -1
staticprivate

Definition at line 698 of file utils.h.


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