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

#include <feedback-vector.h>

Inheritance diagram for v8::internal::ClosureFeedbackCellArray:
Collaboration diagram for v8::internal::ClosureFeedbackCellArray:

Classes

class  BodyDescriptor
 

Public Types

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

Static Public Member Functions

static V8_EXPORT_PRIVATE DirectHandle< ClosureFeedbackCellArrayNew (Isolate *isolate, DirectHandle< SharedFunctionInfo > shared, AllocationType allocation=AllocationType::kYoung)
 
- Static Public Member Functions inherited from v8::internal::TaggedArrayBase< ClosureFeedbackCellArray, ClosureFeedbackCellArrayShape >
static void MoveElements (Isolate *isolate, Tagged< ClosureFeedbackCellArray > dst, int dst_index, Tagged< ClosureFeedbackCellArray > src, int src_index, int len, WriteBarrierMode mode=kDefaultMode)
 
static void CopyElements (Isolate *isolate, Tagged< ClosureFeedbackCellArray > dst, int dst_index, Tagged< ClosureFeedbackCellArray > 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 Member Functions inherited from v8::internal::TaggedArrayBase< ClosureFeedbackCellArray, ClosureFeedbackCellArrayShape >
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< ClosureFeedbackCellArray, ClosureFeedbackCellArrayShape >
static constexpr bool kElementsAreMaybeObject
 
static constexpr int kElementSize
 
static constexpr int kMaxCapacity
 
static constexpr int kMaxRegularCapacity
 
- Protected Member Functions inherited from v8::internal::TaggedArrayBase< ClosureFeedbackCellArray, ClosureFeedbackCellArrayShape >
bool IsInBounds (int index) const
 
bool IsCowArray () const
 
 FLEXIBLE_ARRAY_MEMBER (ElementMemberT, objects)
 
- Static Protected Member Functions inherited from v8::internal::TaggedArrayBase< ClosureFeedbackCellArray, ClosureFeedbackCellArrayShape >
static Handle< ClosureFeedbackCellArrayAllocate (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 285 of file feedback-vector.h.

Member Typedef Documentation

◆ Shape

◆ Super

Initial value:
TaggedArrayBase<ClosureFeedbackCellArray, ClosureFeedbackCellArrayShape>

Definition at line 288 of file feedback-vector.h.

Member Function Documentation

◆ New()

DirectHandle< ClosureFeedbackCellArray > v8::internal::ClosureFeedbackCellArray::New ( Isolate * isolate,
DirectHandle< SharedFunctionInfo > shared,
AllocationType allocation = AllocationType::kYoung )
static

Definition at line 215 of file feedback-vector.cc.

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: