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

#include <deoptimization-data.h>

Inheritance diagram for v8::internal::DeoptimizationLiteralArray:
Collaboration diagram for v8::internal::DeoptimizationLiteralArray:

Public Member Functions

Tagged< Objectget (int index) const
 
Tagged< Objectget (PtrComprCageBase cage_base, int index) const
 
Tagged< MaybeObjectget_raw (int index) const
 
void set (int index, Tagged< Object > value)
 
- 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)
 

Additional Inherited Members

- Public Types inherited from v8::internal::TaggedArrayBase< TrustedWeakFixedArray, TrustedWeakFixedArrayShape, TrustedObjectLayout >
using Header
 
using Shape
 
- Static Public Member Functions inherited from v8::internal::TrustedWeakFixedArray
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)
 
- 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 22 of file deoptimization-data.h.

Member Function Documentation

◆ get() [1/2]

Tagged< Object > v8::internal::DeoptimizationLiteralArray::get ( int index) const
inline

Definition at line 62 of file deoptimization-data-inl.h.

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

◆ get() [2/2]

Tagged< Object > v8::internal::DeoptimizationLiteralArray::get ( PtrComprCageBase cage_base,
int index ) const
inline

Definition at line 66 of file deoptimization-data-inl.h.

Here is the call graph for this function:

◆ get_raw()

Tagged< MaybeObject > v8::internal::DeoptimizationLiteralArray::get_raw ( int index) const
inline

Definition at line 84 of file deoptimization-data-inl.h.

Here is the call graph for this function:

◆ set()

void v8::internal::DeoptimizationLiteralArray::set ( int index,
Tagged< Object > value )
inline

Definition at line 89 of file deoptimization-data-inl.h.

Here is the call graph for this function:

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