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

#include <fixed-array.h>

Inheritance diagram for v8::internal::FixedDoubleArray:
Collaboration diagram for v8::internal::FixedDoubleArray:

Classes

class  BodyDescriptor
 

Public Member Functions

double get_scalar (int index)
 
uint64_t get_representation (int index)
 
void set (int index, double value)
 
void set_the_hole (Isolate *isolate, int index)
 
void set_the_hole (int index)
 
bool is_the_hole (Isolate *isolate, int index)
 
bool is_the_hole (int index)
 
void MoveElements (Isolate *isolate, int dst_index, int src_index, int len, WriteBarrierMode)
 
void FillWithHoles (int from, int to)
 
- Public Member Functions inherited from v8::internal::PrimitiveArrayBase< FixedDoubleArray, FixedDoubleArrayShape >
ElementMemberT get (int index) const
 
void set (int index, ElementMemberT value)
 
int AllocatedSize () const
 
ElementMemberT * begin ()
 
const ElementMemberT * begin () const
 
ElementMemberT * end ()
 
const ElementMemberT * end () const
 
int DataSize () const
 
Handle< D > Allocate (IsolateT *isolate, int length, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation)
 

Static Public Member Functions

template<class IsolateT >
static Handle< FixedArrayBase > New (IsolateT *isolate, int capacity, AllocationType allocation=AllocationType::kYoung)
 
static Handle< Object > get (Tagged< FixedDoubleArray > array, int index, Isolate *isolate)
 
- Static Public Member Functions inherited from v8::internal::PrimitiveArrayBase< FixedDoubleArray, FixedDoubleArrayShape >
static constexpr int SizeFor (int length)
 
static constexpr int OffsetOfElementAt (int index)
 
static Tagged< FixedDoubleArray > FromAddressOfFirstElement (Address address)
 

Private Types

using Super = PrimitiveArrayBase<FixedDoubleArray, FixedDoubleArrayShape>
 

Additional Inherited Members

- Public Types inherited from v8::internal::PrimitiveArrayBase< FixedDoubleArray, FixedDoubleArrayShape >
using Shape
 
using Header
 
- Static Public Attributes inherited from v8::internal::PrimitiveArrayBase< FixedDoubleArray, FixedDoubleArrayShape >
static constexpr bool kElementsAreMaybeObject
 
static constexpr int kElementSize
 
static constexpr int kMaxLength
 
static constexpr int kMaxRegularLength
 
- Protected Member Functions inherited from v8::internal::PrimitiveArrayBase< FixedDoubleArray, FixedDoubleArrayShape >
bool IsInBounds (int index) const
 
 FLEXIBLE_ARRAY_MEMBER (ElementMemberT, values)
 
- Static Protected Member Functions inherited from v8::internal::PrimitiveArrayBase< FixedDoubleArray, FixedDoubleArrayShape >
static Handle< FixedDoubleArray > Allocate (IsolateT *isolate, int length, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation=AllocationType::kYoung)
 

Detailed Description

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

Member Typedef Documentation

◆ Super

Member Function Documentation

◆ FillWithHoles()

void v8::internal::FixedDoubleArray::FillWithHoles ( int from,
int to )
inline

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

Here is the call graph for this function:

◆ get()

Handle< Object > v8::internal::FixedDoubleArray::get ( Tagged< FixedDoubleArray > array,
int index,
Isolate * isolate )
inlinestatic

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

◆ get_representation()

uint64_t v8::internal::FixedDoubleArray::get_representation ( int index)
inline

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

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

◆ get_scalar()

double v8::internal::FixedDoubleArray::get_scalar ( int index)
inline

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

Here is the call graph for this function:

◆ is_the_hole() [1/2]

bool v8::internal::FixedDoubleArray::is_the_hole ( int index)
inline

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

Here is the call graph for this function:

◆ is_the_hole() [2/2]

bool v8::internal::FixedDoubleArray::is_the_hole ( Isolate * isolate,
int index )
inline

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

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

◆ MoveElements()

void v8::internal::FixedDoubleArray::MoveElements ( Isolate * isolate,
int dst_index,
int src_index,
int len,
WriteBarrierMode mode )
inline

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

Here is the call graph for this function:

◆ New()

template<class IsolateT >
Handle< FixedArrayBase > v8::internal::FixedDoubleArray::New ( IsolateT * isolate,
int capacity,
AllocationType allocation = AllocationType::kYoung )
inlinestatic

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

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

◆ set()

void v8::internal::FixedDoubleArray::set ( int index,
double value )
inline

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

Here is the call graph for this function:

◆ set_the_hole() [1/2]

void v8::internal::FixedDoubleArray::set_the_hole ( int index)
inline

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

Here is the call graph for this function:

◆ set_the_hole() [2/2]

void v8::internal::FixedDoubleArray::set_the_hole ( Isolate * isolate,
int index )
inline

Definition at line 588 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: