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

#include <fixed-array.h>

Inheritance diagram for v8::internal::FixedArrayBase:
Collaboration diagram for v8::internal::FixedArrayBase:

Public Member Functions

V8_EXPORT_PRIVATE bool IsCowArray () const
 

Static Public Member Functions

static int GetMaxLengthForNewSpaceAllocation (ElementsKind kind)
 

Static Public Attributes

static constexpr int kLengthOffset = HeapObject::kHeaderSize
 
static constexpr int kHeaderSize = kLengthOffset + kTaggedSize
 
static constexpr int kMaxLength = FixedArray::kMaxCapacity
 
static constexpr int kMaxRegularLength = FixedArray::kMaxRegularCapacity
 

Detailed Description

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

Member Function Documentation

◆ GetMaxLengthForNewSpaceAllocation()

int v8::internal::FixedArrayBase::GetMaxLengthForNewSpaceAllocation ( ElementsKind kind)
static

Definition at line 12 of file fixed-array.cc.

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

◆ IsCowArray()

bool v8::internal::FixedArrayBase::IsCowArray ( ) const

Definition at line 17 of file fixed-array.cc.

Here is the call graph for this function:

Member Data Documentation

◆ kHeaderSize

int v8::internal::FixedArrayBase::kHeaderSize = kLengthOffset + kTaggedSize
staticconstexpr

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

◆ kLengthOffset

int v8::internal::FixedArrayBase::kLengthOffset = HeapObject::kHeaderSize
staticconstexpr

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

◆ kMaxLength

int v8::internal::FixedArrayBase::kMaxLength = FixedArray::kMaxCapacity
staticconstexpr

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

◆ kMaxRegularLength

int v8::internal::FixedArrayBase::kMaxRegularLength = FixedArray::kMaxRegularCapacity
staticconstexpr

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


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