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

Public Member Functions

void IncComputedCount ()
 
void IncPropertiesCount ()
 
void IncElementsCount ()
 
 ObjectDescriptor (int property_slack)
 
bool HasDictionaryProperties () const
 
Handle< Objectproperties_template () const
 
Handle< NumberDictionaryelements_template () const
 
Handle< FixedArraycomputed_properties () const
 
void CreateTemplates (IsolateT *isolate)
 
void AddConstant (IsolateT *isolate, DirectHandle< Name > name, DirectHandle< Object > value, PropertyAttributes attribs)
 
void AddNamedProperty (IsolateT *isolate, Handle< Name > name, ClassBoilerplate::ValueKind value_kind, int value_index)
 
void AddIndexedProperty (IsolateT *isolate, uint32_t element, ClassBoilerplate::ValueKind value_kind, int value_index)
 
void AddComputed (ClassBoilerplate::ValueKind value_kind, int key_index)
 
void UpdateNextEnumerationIndex (int value_index)
 
void Finalize (IsolateT *isolate)
 

Private Member Functions

Handle< NameDictionaryproperties_dictionary_template () const
 
Handle< SwissNameDictionaryproperties_ordered_dictionary_template () const
 

Private Attributes

const int property_slack_
 
int property_count_ = 0
 
int next_enumeration_index_ = PropertyDetails::kInitialIndex
 
int element_count_ = 0
 
int computed_count_ = 0
 
int current_computed_index_ = 0
 
Handle< DescriptorArraydescriptor_array_template_
 
Handle< HeapObjectproperties_dictionary_template_
 
Handle< NumberDictionaryelements_dictionary_template_
 
Handle< FixedArraycomputed_properties_
 
Handle< Objecttemp_handle_
 

Detailed Description

template<typename IsolateT>
class v8::internal::ObjectDescriptor< IsolateT >

Definition at line 465 of file literal-objects.cc.

Constructor & Destructor Documentation

◆ ObjectDescriptor()

template<typename IsolateT >
v8::internal::ObjectDescriptor< IsolateT >::ObjectDescriptor ( int property_slack)
inlineexplicit

Definition at line 471 of file literal-objects.cc.

Member Function Documentation

◆ AddComputed()

template<typename IsolateT >
void v8::internal::ObjectDescriptor< IsolateT >::AddComputed ( ClassBoilerplate::ValueKind value_kind,
int key_index )
inline

Definition at line 594 of file literal-objects.cc.

Here is the call graph for this function:

◆ AddConstant()

template<typename IsolateT >
void v8::internal::ObjectDescriptor< IsolateT >::AddConstant ( IsolateT * isolate,
DirectHandle< Name > name,
DirectHandle< Object > value,
PropertyAttributes attribs )
inline

Definition at line 534 of file literal-objects.cc.

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

◆ AddIndexedProperty()

template<typename IsolateT >
void v8::internal::ObjectDescriptor< IsolateT >::AddIndexedProperty ( IsolateT * isolate,
uint32_t element,
ClassBoilerplate::ValueKind value_kind,
int value_index )
inline

Definition at line 586 of file literal-objects.cc.

Here is the call graph for this function:

◆ AddNamedProperty()

template<typename IsolateT >
void v8::internal::ObjectDescriptor< IsolateT >::AddNamedProperty ( IsolateT * isolate,
Handle< Name > name,
ClassBoilerplate::ValueKind value_kind,
int value_index )
inline

Definition at line 565 of file literal-objects.cc.

Here is the call graph for this function:

◆ computed_properties()

template<typename IsolateT >
Handle< FixedArray > v8::internal::ObjectDescriptor< IsolateT >::computed_properties ( ) const
inline

Definition at line 488 of file literal-objects.cc.

Here is the caller graph for this function:

◆ CreateTemplates()

template<typename IsolateT >
void v8::internal::ObjectDescriptor< IsolateT >::CreateTemplates ( IsolateT * isolate)
inline

Definition at line 492 of file literal-objects.cc.

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

◆ elements_template()

template<typename IsolateT >
Handle< NumberDictionary > v8::internal::ObjectDescriptor< IsolateT >::elements_template ( ) const
inline

Definition at line 484 of file literal-objects.cc.

Here is the caller graph for this function:

◆ Finalize()

template<typename IsolateT >
void v8::internal::ObjectDescriptor< IsolateT >::Finalize ( IsolateT * isolate)
inline

Definition at line 608 of file literal-objects.cc.

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

◆ HasDictionaryProperties()

template<typename IsolateT >
bool v8::internal::ObjectDescriptor< IsolateT >::HasDictionaryProperties ( ) const
inline

Definition at line 474 of file literal-objects.cc.

Here is the caller graph for this function:

◆ IncComputedCount()

template<typename IsolateT >
void v8::internal::ObjectDescriptor< IsolateT >::IncComputedCount ( )
inline

Definition at line 467 of file literal-objects.cc.

◆ IncElementsCount()

template<typename IsolateT >
void v8::internal::ObjectDescriptor< IsolateT >::IncElementsCount ( )
inline

Definition at line 469 of file literal-objects.cc.

◆ IncPropertiesCount()

template<typename IsolateT >
void v8::internal::ObjectDescriptor< IsolateT >::IncPropertiesCount ( )
inline

Definition at line 468 of file literal-objects.cc.

◆ properties_dictionary_template()

template<typename IsolateT >
Handle< NameDictionary > v8::internal::ObjectDescriptor< IsolateT >::properties_dictionary_template ( ) const
inlineprivate

Definition at line 621 of file literal-objects.cc.

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

◆ properties_ordered_dictionary_template()

template<typename IsolateT >
Handle< SwissNameDictionary > v8::internal::ObjectDescriptor< IsolateT >::properties_ordered_dictionary_template ( ) const
inlineprivate

Definition at line 625 of file literal-objects.cc.

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

◆ properties_template()

template<typename IsolateT >
Handle< Object > v8::internal::ObjectDescriptor< IsolateT >::properties_template ( ) const
inline

Definition at line 479 of file literal-objects.cc.

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

◆ UpdateNextEnumerationIndex()

template<typename IsolateT >
void v8::internal::ObjectDescriptor< IsolateT >::UpdateNextEnumerationIndex ( int value_index)
inline

Definition at line 602 of file literal-objects.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ computed_count_

template<typename IsolateT >
int v8::internal::ObjectDescriptor< IsolateT >::computed_count_ = 0
private

Definition at line 633 of file literal-objects.cc.

◆ computed_properties_

template<typename IsolateT >
Handle<FixedArray> v8::internal::ObjectDescriptor< IsolateT >::computed_properties_
private

Definition at line 642 of file literal-objects.cc.

◆ current_computed_index_

template<typename IsolateT >
int v8::internal::ObjectDescriptor< IsolateT >::current_computed_index_ = 0
private

Definition at line 634 of file literal-objects.cc.

◆ descriptor_array_template_

template<typename IsolateT >
Handle<DescriptorArray> v8::internal::ObjectDescriptor< IsolateT >::descriptor_array_template_
private

Definition at line 636 of file literal-objects.cc.

◆ element_count_

template<typename IsolateT >
int v8::internal::ObjectDescriptor< IsolateT >::element_count_ = 0
private

Definition at line 632 of file literal-objects.cc.

◆ elements_dictionary_template_

template<typename IsolateT >
Handle<NumberDictionary> v8::internal::ObjectDescriptor< IsolateT >::elements_dictionary_template_
private

Definition at line 641 of file literal-objects.cc.

◆ next_enumeration_index_

template<typename IsolateT >
int v8::internal::ObjectDescriptor< IsolateT >::next_enumeration_index_ = PropertyDetails::kInitialIndex
private

Definition at line 631 of file literal-objects.cc.

◆ properties_dictionary_template_

template<typename IsolateT >
Handle<HeapObject> v8::internal::ObjectDescriptor< IsolateT >::properties_dictionary_template_
private

Definition at line 639 of file literal-objects.cc.

◆ property_count_

template<typename IsolateT >
int v8::internal::ObjectDescriptor< IsolateT >::property_count_ = 0
private

Definition at line 630 of file literal-objects.cc.

◆ property_slack_

template<typename IsolateT >
const int v8::internal::ObjectDescriptor< IsolateT >::property_slack_
private

Definition at line 629 of file literal-objects.cc.

◆ temp_handle_

template<typename IsolateT >
Handle<Object> v8::internal::ObjectDescriptor< IsolateT >::temp_handle_
private

Definition at line 644 of file literal-objects.cc.


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