![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <dictionary.h>
Public Member Functions | |
| void | UpdateMaxNumberKey (uint32_t key, DirectHandle< JSObject > dictionary_holder) |
| void | CopyValuesTo (Tagged< FixedArray > elements) |
| bool | requires_slow_elements () |
| void | set_requires_slow_elements () |
| uint32_t | max_number_key () |
| template<template< typename > typename HandleType> requires (std::is_convertible_v<HandleType<NumberDictionary>, DirectHandle<NumberDictionary>>) | |
| HandleType< NumberDictionary > | Set (Isolate *isolate, HandleType< NumberDictionary > dictionary, uint32_t key, DirectHandle< Object > value, DirectHandle< JSObject > dictionary_holder, PropertyDetails details) |
Static Public Member Functions | |
| static DirectHandle< Map > | GetMap (RootsTable &roots) |
| template<template< typename > typename HandleType> requires (std::is_convertible_v<HandleType<NumberDictionary>, DirectHandle<NumberDictionary>>) | |
| static V8_WARN_UNUSED_RESULT HandleType< NumberDictionary > | Set (Isolate *isolate, HandleType< NumberDictionary > dictionary, uint32_t key, DirectHandle< Object > value, DirectHandle< JSObject > dictionary_holder=DirectHandle< JSObject >::null(), PropertyDetails details=PropertyDetails::Empty()) |
| static void | UncheckedSet (Isolate *isolate, DirectHandle< NumberDictionary > dictionary, uint32_t key, DirectHandle< Object > value) |
Static Public Attributes | |
| static const int | kMaxNumberKeyIndex = kPrefixStartIndex |
| static const int | kEntryValueIndex = 1 |
| static const int | kEntryDetailsIndex = 2 |
| static const int | kRequiresSlowElementsMask = 1 |
| static const int | kRequiresSlowElementsTagSize = 1 |
| static const uint32_t | kRequiresSlowElementsLimit = (1 << 29) - 1 |
| static const uint32_t | kPreferFastElementsSizeFactor = 3 |
Definition at line 385 of file dictionary.h.
| void v8::internal::NumberDictionary::CopyValuesTo | ( | Tagged< FixedArray > | elements | ) |
|
inlinestatic |
Definition at line 314 of file dictionary-inl.h.
|
inline |
Definition at line 146 of file dictionary-inl.h.
|
inline |
| HandleType< NumberDictionary > v8::internal::NumberDictionary::Set | ( | Isolate * | isolate, |
| HandleType< NumberDictionary > | dictionary, | ||
| uint32_t | key, | ||
| DirectHandle< Object > | value, | ||
| DirectHandle< JSObject > | dictionary_holder, | ||
| PropertyDetails | details ) |
Definition at line 5884 of file objects.cc.
|
static |
|
inline |
|
static |
Definition at line 5907 of file objects.cc.
| void v8::internal::NumberDictionary::UpdateMaxNumberKey | ( | uint32_t | key, |
| DirectHandle< JSObject > | dictionary_holder ) |
|
static |
Definition at line 431 of file dictionary.h.
|
static |
Definition at line 430 of file dictionary.h.
|
static |
Definition at line 410 of file dictionary.h.
|
static |
Definition at line 440 of file dictionary.h.
|
static |
Definition at line 436 of file dictionary.h.
|
static |
Definition at line 434 of file dictionary.h.
|
static |
Definition at line 435 of file dictionary.h.