#include <js-array.h>
|
static bool | MayHaveReadOnlyLength (Tagged< Map > js_array_map) |
|
static bool | HasReadOnlyLength (DirectHandle< JSArray > array) |
|
static bool | WouldChangeReadOnlyLength (DirectHandle< JSArray > array, uint32_t index) |
|
static V8_EXPORT_PRIVATE void | Initialize (DirectHandle< JSArray > array, int capacity, int length=0) |
|
static bool | SetLengthWouldNormalize (Heap *heap, uint32_t new_length) |
|
static V8_EXPORT_PRIVATE Maybe< bool > | SetLength (DirectHandle< JSArray > array, uint32_t length) |
|
static void | SetContent (DirectHandle< JSArray > array, DirectHandle< FixedArrayBase > storage) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | DefineOwnProperty (Isolate *isolate, DirectHandle< JSArray > o, DirectHandle< Object > name, PropertyDescriptor *desc, Maybe< ShouldThrow > should_throw) |
|
static bool | AnythingToArrayLength (Isolate *isolate, DirectHandle< Object > length_object, uint32_t *output) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | ArraySetLength (Isolate *isolate, DirectHandle< JSArray > a, PropertyDescriptor *desc, Maybe< ShouldThrow > should_throw) |
|
static Address | ArrayJoinConcatToSequentialString (Isolate *isolate, Address raw_fixed_array, intptr_t length, Address raw_separator, Address raw_dest) |
|
Definition at line 25 of file js-array.h.
◆ AnythingToArrayLength()
◆ ArrayJoinConcatToSequentialString()
◆ ArraySetLength()
◆ DefineOwnProperty()
◆ HasArrayPrototype()
bool v8::internal::JSArray::HasArrayPrototype |
( |
Isolate * | isolate | ) |
|
|
inline |
◆ HasReadOnlyLength()
◆ Initialize()
void v8::internal::JSArray::Initialize |
( |
DirectHandle< JSArray > | array, |
|
|
int | capacity, |
|
|
int | length = 0 ) |
|
static |
◆ length()
◆ MayHaveReadOnlyLength()
bool v8::internal::JSArray::MayHaveReadOnlyLength |
( |
Tagged< Map > | js_array_map | ) |
|
|
static |
◆ set_length() [1/2]
◆ set_length() [2/2]
void v8::internal::JSArray::set_length |
( |
Tagged< Smi > | length | ) |
|
|
inline |
◆ SetContent()
◆ SetLength()
◆ SetLengthWouldNormalize() [1/2]
bool v8::internal::JSArray::SetLengthWouldNormalize |
( |
Heap * | heap, |
|
|
uint32_t | new_length ) |
|
inlinestatic |
◆ SetLengthWouldNormalize() [2/2]
bool v8::internal::JSArray::SetLengthWouldNormalize |
( |
uint32_t | new_length | ) |
|
◆ WouldChangeReadOnlyLength()
◆ kInitialMaxFastElementArray
const int v8::internal::JSArray::kInitialMaxFastElementArray |
|
static |
Initial value:=
sizeof(AllocationMemento)) >>
constexpr int kMaxRegularHeapObjectSize
constexpr int kDoubleSizeLog2
Definition at line 144 of file js-array.h.
◆ kLengthDescriptorIndex
const int v8::internal::JSArray::kLengthDescriptorIndex = 0 |
|
static |
◆ kMaxArrayIndex
◆ kMaxArrayLength
◆ kMaxCopyElements
const int v8::internal::JSArray::kMaxCopyElements = 100 |
|
static |
◆ kMaxFastArrayLength
uint32_t v8::internal::JSArray::kMaxFastArrayLength |
|
staticconstexpr |
Initial value:=
#define V8_LOWER_LIMITS_MODE_BOOL
Definition at line 136 of file js-array.h.
◆ kMinJoinStackSize
const uint32_t v8::internal::JSArray::kMinJoinStackSize = 2 |
|
static |
◆ kPreallocatedArrayElements
const int v8::internal::JSArray::kPreallocatedArrayElements = 4 |
|
static |
The documentation for this class was generated from the following files: