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

#include <fixed-array.h>

Inheritance diagram for v8::internal::TrustedWeakFixedArray:
Collaboration diagram for v8::internal::TrustedWeakFixedArray:

Classes

class  BodyDescriptor
 

Static Public Member Functions

template<class IsolateT >
static Handle< TrustedWeakFixedArrayNew (IsolateT *isolate, int capacity)
 
- Static Public Member Functions inherited from v8::internal::TaggedArrayBase< TrustedWeakFixedArray, TrustedWeakFixedArrayShape, TrustedObjectLayout >
static void MoveElements (Isolate *isolate, Tagged< TrustedWeakFixedArray > dst, int dst_index, Tagged< TrustedWeakFixedArray > src, int src_index, int len, WriteBarrierMode mode=kDefaultMode)
 
static void CopyElements (Isolate *isolate, Tagged< TrustedWeakFixedArray > dst, int dst_index, Tagged< TrustedWeakFixedArray > 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
 

Additional Inherited Members

- Public Types inherited from v8::internal::TaggedArrayBase< TrustedWeakFixedArray, TrustedWeakFixedArrayShape, TrustedObjectLayout >
using Header
 
using Shape
 
- Public Member Functions inherited from v8::internal::TaggedArrayBase< TrustedWeakFixedArray, TrustedWeakFixedArrayShape, TrustedObjectLayout >
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 Attributes inherited from v8::internal::TaggedArrayBase< TrustedWeakFixedArray, TrustedWeakFixedArrayShape, TrustedObjectLayout >
static constexpr bool kElementsAreMaybeObject
 
static constexpr int kElementSize
 
static constexpr int kMaxCapacity
 
static constexpr int kMaxRegularCapacity
 
- Protected Member Functions inherited from v8::internal::TaggedArrayBase< TrustedWeakFixedArray, TrustedWeakFixedArrayShape, TrustedObjectLayout >
bool IsInBounds (int index) const
 
bool IsCowArray () const
 
 FLEXIBLE_ARRAY_MEMBER (ElementMemberT, objects)
 
- Static Protected Member Functions inherited from v8::internal::TaggedArrayBase< TrustedWeakFixedArray, TrustedWeakFixedArrayShape, TrustedObjectLayout >
static Handle< TrustedWeakFixedArrayAllocate (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 536 of file fixed-array.h.

Member Typedef Documentation

◆ Super

Initial value:
TaggedArrayBase<TrustedWeakFixedArray, TrustedWeakFixedArrayShape>

Definition at line 539 of file fixed-array.h.

Member Function Documentation

◆ New()

template<class IsolateT >
Handle< TrustedWeakFixedArray > v8::internal::TrustedWeakFixedArray::New ( IsolateT * isolate,
int capacity )
inlinestatic

Definition at line 641 of file fixed-array-inl.h.

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

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