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

Public Member Functions

 Entry (Tagged< Smi > smi)
 
 Entry (double heap_number)
 
 Entry (const AstRawString *raw_string)
 
 Entry (const AstConsString *cons_string)
 
 Entry (AstBigInt bigint)
 
 Entry (const Scope *scope)
 
bool IsDeferred () const
 
bool IsJumpTableEntry () const
 
void SetDeferred (Handle< Object > handle)
 
void SetJumpTableSmi (Tagged< Smi > smi)
 
template<typename IsolateT >
Handle< ObjectToHandle (IsolateT *isolate) const
 

Static Public Member Functions

static Entry Deferred ()
 
static Entry UninitializedJumpTableSmi ()
 

Private Types

enum class  Tag : uint8_t {
  kDeferred , kHandle , kSmi , kRawString ,
  kConsString , kHeapNumber , kBigInt , kScope ,
  kUninitializedJumpTableSmi , kJumpTableSmi , ENTRY_TAG
}
 

Private Member Functions

 Entry (Tag tag)
 

Private Attributes

union { 
 
   IndirectHandle< Object >   handle_ 
 
   Tagged< Smi >   smi_ 
 
   double   heap_number_ 
 
   const AstRawString *   raw_string_ 
 
   const AstConsString *   cons_string_ 
 
   AstBigInt   bigint_ 
 
   const Scope *   scope_ 
 
};  
 
enum v8::internal::interpreter::ConstantArrayBuilder::Entry::Tag tag_
 

Detailed Description

Definition at line 115 of file constant-array-builder.h.

Member Enumeration Documentation

◆ Tag

Enumerator
kDeferred 
kHandle 
kSmi 
kRawString 
kConsString 
kHeapNumber 
kBigInt 
kScope 
kUninitializedJumpTableSmi 
kJumpTableSmi 
ENTRY_TAG 

Definition at line 176 of file constant-array-builder.h.

Constructor & Destructor Documentation

◆ Entry() [1/7]

v8::internal::interpreter::ConstantArrayBuilder::Entry::Entry ( Tagged< Smi > smi)
inlineexplicit

Definition at line 120 of file constant-array-builder.h.

◆ Entry() [2/7]

v8::internal::interpreter::ConstantArrayBuilder::Entry::Entry ( double heap_number)
inlineexplicit

Definition at line 121 of file constant-array-builder.h.

◆ Entry() [3/7]

v8::internal::interpreter::ConstantArrayBuilder::Entry::Entry ( const AstRawString * raw_string)
inlineexplicit

Definition at line 123 of file constant-array-builder.h.

◆ Entry() [4/7]

v8::internal::interpreter::ConstantArrayBuilder::Entry::Entry ( const AstConsString * cons_string)
inlineexplicit

Definition at line 125 of file constant-array-builder.h.

◆ Entry() [5/7]

v8::internal::interpreter::ConstantArrayBuilder::Entry::Entry ( AstBigInt bigint)
inlineexplicit

Definition at line 127 of file constant-array-builder.h.

◆ Entry() [6/7]

v8::internal::interpreter::ConstantArrayBuilder::Entry::Entry ( const Scope * scope)
inlineexplicit

Definition at line 128 of file constant-array-builder.h.

◆ Entry() [7/7]

v8::internal::interpreter::ConstantArrayBuilder::Entry::Entry ( Tag tag)
inlineexplicitprivate

Definition at line 164 of file constant-array-builder.h.

Member Function Documentation

◆ Deferred()

static Entry v8::internal::interpreter::ConstantArrayBuilder::Entry::Deferred ( )
inlinestatic

Definition at line 135 of file constant-array-builder.h.

Here is the caller graph for this function:

◆ IsDeferred()

bool v8::internal::interpreter::ConstantArrayBuilder::Entry::IsDeferred ( ) const
inline

Definition at line 141 of file constant-array-builder.h.

Here is the caller graph for this function:

◆ IsJumpTableEntry()

bool v8::internal::interpreter::ConstantArrayBuilder::Entry::IsJumpTableEntry ( ) const
inline

Definition at line 143 of file constant-array-builder.h.

◆ SetDeferred()

void v8::internal::interpreter::ConstantArrayBuilder::Entry::SetDeferred ( Handle< Object > handle)
inline

Definition at line 148 of file constant-array-builder.h.

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

◆ SetJumpTableSmi()

void v8::internal::interpreter::ConstantArrayBuilder::Entry::SetJumpTableSmi ( Tagged< Smi > smi)
inline

Definition at line 154 of file constant-array-builder.h.

Here is the caller graph for this function:

◆ ToHandle()

template<typename IsolateT >
template Handle< Object > v8::internal::interpreter::ConstantArrayBuilder::Entry::ToHandle ( IsolateT * isolate) const

Definition at line 396 of file constant-array-builder.cc.

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

◆ UninitializedJumpTableSmi()

static Entry v8::internal::interpreter::ConstantArrayBuilder::Entry::UninitializedJumpTableSmi ( )
inlinestatic

Definition at line 137 of file constant-array-builder.h.

Here is the caller graph for this function:

Member Data Documentation

◆ [union]

◆ bigint_

AstBigInt v8::internal::interpreter::ConstantArrayBuilder::Entry::bigint_

Definition at line 172 of file constant-array-builder.h.

◆ cons_string_

const AstConsString* v8::internal::interpreter::ConstantArrayBuilder::Entry::cons_string_

Definition at line 171 of file constant-array-builder.h.

◆ handle_

IndirectHandle<Object> v8::internal::interpreter::ConstantArrayBuilder::Entry::handle_

Definition at line 167 of file constant-array-builder.h.

◆ heap_number_

double v8::internal::interpreter::ConstantArrayBuilder::Entry::heap_number_

Definition at line 169 of file constant-array-builder.h.

◆ raw_string_

const AstRawString* v8::internal::interpreter::ConstantArrayBuilder::Entry::raw_string_

Definition at line 170 of file constant-array-builder.h.

◆ scope_

const Scope* v8::internal::interpreter::ConstantArrayBuilder::Entry::scope_

Definition at line 173 of file constant-array-builder.h.

◆ smi_

Tagged<Smi> v8::internal::interpreter::ConstantArrayBuilder::Entry::smi_

Definition at line 168 of file constant-array-builder.h.

◆ tag_

enum v8::internal::interpreter::ConstantArrayBuilder::Entry::Tag v8::internal::interpreter::ConstantArrayBuilder::Entry::tag_
private

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