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

#include <literal-objects.h>

Inheritance diagram for v8::internal::ObjectBoilerplateDescription:
Collaboration diagram for v8::internal::ObjectBoilerplateDescription:

Classes

class  BodyDescriptor
 

Public Types

using Shape = ObjectBoilerplateDescriptionShape
 
- Public Types inherited from v8::internal::TaggedArrayBase< ObjectBoilerplateDescription, ObjectBoilerplateDescriptionShape >
using Header
 
using Shape
 

Public Member Functions

int flags () const
 
void set_flags (int value)
 
int backing_store_size () const
 
void set_backing_store_size (int backing_store_size)
 
int boilerplate_properties_count () const
 
Tagged< Objectname (int index) const
 
Tagged< Objectvalue (int index) const
 
void set_key_value (int index, Tagged< Object > key, Tagged< Object > value)
 
- Public Member Functions inherited from v8::internal::TaggedArrayBase< ObjectBoilerplateDescription, ObjectBoilerplateDescriptionShape >
Tagged< ElementTget (int index) const
 
Tagged< ElementTget (int index, RelaxedLoadTag) const
 
Tagged< ElementTget (int index, AcquireLoadTag) const
 
Tagged< ElementTget (int index, SeqCstAccessTag) const
 
void set (int index, Tagged< ElementT > value, WriteBarrierMode mode=kDefaultMode)
 
void set (int index, Tagged< Smi > value)
 
void set (int index, Tagged< ElementT > value, RelaxedStoreTag, WriteBarrierMode mode=kDefaultMode)
 
void set (int index, Tagged< Smi > value, RelaxedStoreTag)
 
void set (int index, Tagged< ElementT > value, ReleaseStoreTag, WriteBarrierMode mode=kDefaultMode)
 
void set (int index, Tagged< Smi > value, ReleaseStoreTag)
 
void set (int index, Tagged< ElementT > value, SeqCstAccessTag, WriteBarrierMode mode=kDefaultMode)
 
void set (int index, Tagged< Smi > value, SeqCstAccessTag)
 
Tagged< ElementTswap (int index, Tagged< ElementT > value, SeqCstAccessTag, WriteBarrierMode mode=kDefaultMode)
 
Tagged< ElementTcompare_and_swap (int index, Tagged< ElementT > expected, Tagged< ElementT > value, SeqCstAccessTag, WriteBarrierMode mode=kDefaultMode)
 
void RightTrim (Isolate *isolate, int new_capacity)
 
int AllocatedSize () const
 
SlotType RawFieldOfFirstElement () const
 
SlotType RawFieldOfElementAt (int index) const
 
Handle< DAllocate (IsolateT *isolate, int capacity, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation)
 

Static Public Member Functions

template<class IsolateT >
static Handle< ObjectBoilerplateDescriptionNew (IsolateT *isolate, int boilerplate, int all_properties, int index_keys, bool has_seen_proto, AllocationType allocation=AllocationType::kYoung)
 
- Static Public Member Functions inherited from v8::internal::TaggedArrayBase< ObjectBoilerplateDescription, ObjectBoilerplateDescriptionShape >
static void MoveElements (Isolate *isolate, Tagged< ObjectBoilerplateDescription > dst, int dst_index, Tagged< ObjectBoilerplateDescription > src, int src_index, int len, WriteBarrierMode mode=kDefaultMode)
 
static void CopyElements (Isolate *isolate, Tagged< ObjectBoilerplateDescription > dst, int dst_index, Tagged< ObjectBoilerplateDescription > src, int src_index, int len, WriteBarrierMode mode=kDefaultMode)
 
static constexpr int SizeFor (int capacity)
 
static constexpr int OffsetOfElementAt (int index)
 

Private Types

using Super
 

Static Private Member Functions

static constexpr int NameIndex (int i)
 
static constexpr int ValueIndex (int i)
 

Static Private Attributes

static constexpr int kElementsPerEntry = 2
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::TaggedArrayBase< ObjectBoilerplateDescription, ObjectBoilerplateDescriptionShape >
static constexpr bool kElementsAreMaybeObject
 
static constexpr int kElementSize
 
static constexpr int kMaxCapacity
 
static constexpr int kMaxRegularCapacity
 
- Protected Member Functions inherited from v8::internal::TaggedArrayBase< ObjectBoilerplateDescription, ObjectBoilerplateDescriptionShape >
bool IsInBounds (int index) const
 
bool IsCowArray () const
 
 FLEXIBLE_ARRAY_MEMBER (ElementMemberT, objects)
 
- Static Protected Member Functions inherited from v8::internal::TaggedArrayBase< ObjectBoilerplateDescription, ObjectBoilerplateDescriptionShape >
static Handle< ObjectBoilerplateDescriptionAllocate (IsolateT *isolate, int capacity, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation=AllocationType::kYoung)
 
static constexpr int NewCapacityForIndex (int index, int old_capacity)
 

Detailed Description

Definition at line 42 of file literal-objects.h.

Member Typedef Documentation

◆ Shape

◆ Super

Initial value:
TaggedArrayBase<ObjectBoilerplateDescription,
ObjectBoilerplateDescriptionShape>

Definition at line 45 of file literal-objects.h.

Member Function Documentation

◆ backing_store_size()

int v8::internal::ObjectBoilerplateDescription::backing_store_size ( ) const
inline

Definition at line 56 of file literal-objects-inl.h.

Here is the caller graph for this function:

◆ boilerplate_properties_count()

int v8::internal::ObjectBoilerplateDescription::boilerplate_properties_count ( ) const
inline

Definition at line 84 of file literal-objects-inl.h.

Here is the caller graph for this function:

◆ flags()

int v8::internal::ObjectBoilerplateDescription::flags ( ) const
inline

Definition at line 62 of file literal-objects-inl.h.

◆ name()

Tagged< Object > v8::internal::ObjectBoilerplateDescription::name ( int index) const
inline

Definition at line 69 of file literal-objects-inl.h.

Here is the call graph for this function:

◆ NameIndex()

static constexpr int v8::internal::ObjectBoilerplateDescription::NameIndex ( int i)
inlinestaticconstexprprivate

Definition at line 78 of file literal-objects.h.

Here is the caller graph for this function:

◆ New()

template<class IsolateT >
Handle< ObjectBoilerplateDescription > v8::internal::ObjectBoilerplateDescription::New ( IsolateT * isolate,
int boilerplate,
int all_properties,
int index_keys,
bool has_seen_proto,
AllocationType allocation = AllocationType::kYoung )
inlinestatic

Definition at line 28 of file literal-objects-inl.h.

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

◆ set_backing_store_size()

void v8::internal::ObjectBoilerplateDescription::set_backing_store_size ( int backing_store_size)
inline

Definition at line 59 of file literal-objects-inl.h.

Here is the call graph for this function:

◆ set_flags()

void v8::internal::ObjectBoilerplateDescription::set_flags ( int value)
inline

Definition at line 65 of file literal-objects-inl.h.

Here is the call graph for this function:

◆ set_key_value()

void v8::internal::ObjectBoilerplateDescription::set_key_value ( int index,
Tagged< Object > key,
Tagged< Object > value )
inline

Definition at line 77 of file literal-objects-inl.h.

Here is the call graph for this function:

◆ value()

Tagged< Object > v8::internal::ObjectBoilerplateDescription::value ( int index) const
inline

Definition at line 73 of file literal-objects-inl.h.

Here is the call graph for this function:

◆ ValueIndex()

static constexpr int v8::internal::ObjectBoilerplateDescription::ValueIndex ( int i)
inlinestaticconstexprprivate

Definition at line 79 of file literal-objects.h.

Here is the caller graph for this function:

Member Data Documentation

◆ kElementsPerEntry

int v8::internal::ObjectBoilerplateDescription::kElementsPerEntry = 2
staticconstexprprivate

Definition at line 77 of file literal-objects.h.


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