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

#include <dictionary.h>

Inheritance diagram for v8::internal::NameDictionary:
Collaboration diagram for v8::internal::NameDictionary:

Public Types

using MayHaveInterestingPropertiesBit = base::BitField<bool, 0, 1, uint32_t>
 

Public Member Functions

Tagged< NameNameAt (InternalIndex entry)
 
Tagged< NameNameAt (PtrComprCageBase cage_base, InternalIndex entry)
 
void set_hash (int hash)
 
int hash () const
 
uint32_t flags () const
 
void set_flags (uint32_t flags)
 
template<typename IsolateT >
Handle< NameDictionaryNew (IsolateT *isolate, int at_least_space_for, AllocationType allocation, MinimumCapacity capacity_option)
 

Static Public Member Functions

static DirectHandle< MapGetMap (RootsTable &roots)
 
template<typename IsolateT >
static V8_WARN_UNUSED_RESULT Handle< NameDictionaryNew (IsolateT *isolate, int at_least_space_for, AllocationType allocation=AllocationType::kYoung, MinimumCapacity capacity_option=USE_DEFAULT_MINIMUM_CAPACITY)
 

Static Public Attributes

static const int kFlagsIndex = kObjectHashIndex + 1
 
static const int kEntryValueIndex = 1
 
static const int kEntryDetailsIndex = 2
 
static const int kInitialCapacity = 2
 
static constexpr int kFlagsDefault = 0
 

Detailed Description

Definition at line 240 of file dictionary.h.

Member Typedef Documentation

◆ MayHaveInterestingPropertiesBit

Member Function Documentation

◆ flags()

uint32_t v8::internal::NameDictionary::flags ( ) const
inline

Definition at line 228 of file dictionary-inl.h.

Here is the call graph for this function:

◆ GetMap()

DirectHandle< Map > v8::internal::NameDictionary::GetMap ( RootsTable & roots)
inlinestatic

Definition at line 224 of file dictionary-inl.h.

◆ hash()

int v8::internal::NameDictionary::hash ( ) const
inline

◆ NameAt() [1/2]

Tagged< Name > v8::internal::NameDictionary::NameAt ( InternalIndex entry)
inline

Definition at line 214 of file dictionary-inl.h.

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

◆ NameAt() [2/2]

Tagged< Name > v8::internal::NameDictionary::NameAt ( PtrComprCageBase cage_base,
InternalIndex entry )
inline

Definition at line 219 of file dictionary-inl.h.

Here is the call graph for this function:

◆ New() [1/2]

template<typename IsolateT >
Handle< NameDictionary > v8::internal::NameDictionary::New ( IsolateT * isolate,
int at_least_space_for,
AllocationType allocation,
MinimumCapacity capacity_option )

Definition at line 5664 of file objects.cc.

◆ New() [2/2]

template<typename IsolateT >
static V8_WARN_UNUSED_RESULT Handle< NameDictionary > v8::internal::NameDictionary::New ( IsolateT * isolate,
int at_least_space_for,
AllocationType allocation = AllocationType::kYoung,
MinimumCapacity capacity_option = USE_DEFAULT_MINIMUM_CAPACITY )
static
Here is the caller graph for this function:

◆ set_flags()

void v8::internal::NameDictionary::set_flags ( uint32_t flags)
inline

Definition at line 232 of file dictionary-inl.h.

Here is the call graph for this function:

◆ set_hash()

void v8::internal::NameDictionary::set_hash ( int hash)
inline

Member Data Documentation

◆ kEntryDetailsIndex

const int v8::internal::NameDictionary::kEntryDetailsIndex = 2
static

Definition at line 249 of file dictionary.h.

◆ kEntryValueIndex

const int v8::internal::NameDictionary::kEntryValueIndex = 1
static

Definition at line 248 of file dictionary.h.

◆ kFlagsDefault

int v8::internal::NameDictionary::kFlagsDefault = 0
staticconstexpr

Definition at line 262 of file dictionary.h.

◆ kFlagsIndex

const int v8::internal::NameDictionary::kFlagsIndex = kObjectHashIndex + 1
static

Definition at line 247 of file dictionary.h.

◆ kInitialCapacity

const int v8::internal::NameDictionary::kInitialCapacity = 2
static

Definition at line 250 of file dictionary.h.


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