#include <handler-configuration.h>
|
enum class | Kind {
kElement
, kIndexedString
, kNormal
, kGlobal
,
kField
, kConstantFromPrototype
, kAccessorFromPrototype
, kNativeDataProperty
,
kApiGetter
, kInterceptor
, kSlow
, kProxy
,
kNonExistent
, kModuleExport
} |
|
using | KindBits = base::BitField<Kind, 0, 4> |
|
using | DoAccessCheckOnLookupStartObjectBits = KindBits::Next<bool, 1> |
|
using | LookupOnLookupStartObjectBits |
|
using | DescriptorBits |
|
using | IsWasmStructBits = LookupOnLookupStartObjectBits::Next<bool, 1> |
|
using | IsInobjectBits = IsWasmStructBits::Next<bool, 1> |
|
using | IsDoubleBits = IsInobjectBits::Next<bool, 1> |
|
using | FieldIndexBits |
|
using | WasmFieldTypeBits = IsWasmStructBits::Next<WasmValueType, 4> |
|
using | WasmFieldOffsetBits = WasmFieldTypeBits::Next<unsigned, 20> |
|
using | AllowOutOfBoundsBits = LookupOnLookupStartObjectBits::Next<bool, 1> |
|
using | IsWasmArrayBits = AllowOutOfBoundsBits::Next<bool, 1> |
|
using | IsJsArrayBits = IsWasmArrayBits::Next<bool, 1> |
|
using | AllowHandlingHole = IsJsArrayBits::Next<bool, 1> |
|
using | ElementsKindBits = AllowHandlingHole::Next<ElementsKind, 8> |
|
using | WasmArrayTypeBits = IsWasmArrayBits::Next<WasmValueType, 4> |
|
using | ExportsIndexBits |
|
using | BodyDescriptor = StructBodyDescriptor |
|
|
static Kind | GetHandlerKind (Tagged< Smi > smi_handler) |
|
static Handle< Smi > | LoadNormal (Isolate *isolate) |
|
static Handle< Smi > | LoadGlobal (Isolate *isolate) |
|
static Handle< Smi > | LoadInterceptor (Isolate *isolate) |
|
static Handle< Smi > | LoadSlow (Isolate *isolate) |
|
static Handle< Smi > | LoadField (Isolate *isolate, FieldIndex field_index) |
|
static Handle< Smi > | LoadConstantFromPrototype (Isolate *isolate) |
|
static DirectHandle< Smi > | LoadAccessorFromPrototype (Isolate *isolate) |
|
static Handle< Smi > | LoadProxy (Isolate *isolate) |
|
static Handle< Smi > | LoadNativeDataProperty (Isolate *isolate, int descriptor) |
|
static Handle< Smi > | LoadApiGetter (Isolate *isolate) |
|
static Handle< Smi > | LoadModuleExport (Isolate *isolate, int index) |
|
static DirectHandle< Smi > | LoadWasmStructField (Isolate *isolate, WasmValueType type, int offset) |
|
static DirectHandle< Smi > | LoadWasmArrayElement (Isolate *isolate, WasmValueType type) |
|
static Handle< Object > | LoadFullChain (Isolate *isolate, DirectHandle< Map > receiver_map, const MaybeObjectDirectHandle &holder, Handle< Smi > smi_handler) |
|
static Handle< Object > | LoadFromPrototype (Isolate *isolate, DirectHandle< Map > receiver_map, DirectHandle< JSReceiver > holder, Tagged< Smi > smi_handler, MaybeObjectDirectHandle maybe_data1=MaybeObjectDirectHandle(), MaybeObjectDirectHandle maybe_data2=MaybeObjectDirectHandle()) |
|
static Handle< Smi > | LoadNonExistent (Isolate *isolate) |
|
static Handle< Smi > | LoadElement (Isolate *isolate, ElementsKind elements_kind, bool is_js_array, KeyedAccessLoadMode load_mode) |
|
static Handle< Smi > | LoadIndexedString (Isolate *isolate, KeyedAccessLoadMode load_mode) |
|
static KeyedAccessLoadMode | GetKeyedAccessLoadMode (Tagged< MaybeObject > handler) |
|
static bool | CanHandleHolderNotLookupStart (Tagged< Object > handler) |
|
Static Public Member Functions inherited from v8::internal::DataHandler |
static constexpr int | OffsetOf (int index) |
|
static constexpr int | SizeFor (int count) |
|
|
Public Member Functions inherited from v8::internal::DataHandler |
Tagged< UnionOf< Smi, Code > > | smi_handler () const |
|
void | set_smi_handler (Tagged< Smi > value) |
|
void | set_smi_handler (Tagged< Code > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
Tagged< UnionOf< Smi, Cell > > | validity_cell () const |
|
void | set_validity_cell (Tagged< UnionOf< Smi, Cell > > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
int | data_field_count () const |
|
Tagged< MaybeObject > | data1 () const |
|
void | set_data1 (Tagged< MaybeObject > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
Tagged< MaybeObject > | data2 () const |
|
void | set_data2 (Tagged< MaybeObject > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
Tagged< MaybeObject > | data3 () const |
|
void | set_data3 (Tagged< MaybeObject > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
void | BriefPrintDetails (std::ostream &os) |
|
| HeapObjectLayout ()=delete |
|
Tagged< Map > | map () const |
|
Tagged< Map > | map (AcquireLoadTag) const |
|
MapWord | map_word (RelaxedLoadTag) const |
|
void | set_map (Isolate *isolate, Tagged< Map > value) |
|
template<typename IsolateT > |
void | set_map (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag) |
|
template<typename IsolateT > |
void | set_map_safe_transition (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag) |
|
void | set_map_safe_transition_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore) |
|
template<typename IsolateT > |
void | set_map_after_allocation (IsolateT *isolate, Tagged< Map > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
void | set_map_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore) |
|
void | set_map_word_forwarded (Tagged< HeapObject > target_object, ReleaseStoreTag) |
|
void | set_map_word_forwarded (Tagged< HeapObject > target_object, RelaxedStoreTag) |
|
Address | ptr () const |
|
Address | address () const |
|
ReadOnlyRoots | EarlyGetReadOnlyRoots () const |
|
int | Size () const |
|
V8_EXPORT_PRIVATE int | SizeFromMap (Tagged< Map > map) const |
|
WriteBarrierMode | GetWriteBarrierMode (const DisallowGarbageCollection &promise) |
|
Definition at line 44 of file handler-configuration.h.
◆ AllowHandlingHole
◆ AllowOutOfBoundsBits
◆ DescriptorBits
◆ DoAccessCheckOnLookupStartObjectBits
◆ ElementsKindBits
◆ ExportsIndexBits
◆ FieldIndexBits
◆ IsDoubleBits
◆ IsInobjectBits
◆ IsJsArrayBits
◆ IsWasmArrayBits
◆ IsWasmStructBits
◆ KindBits
◆ LookupOnLookupStartObjectBits
◆ WasmArrayTypeBits
◆ WasmFieldOffsetBits
◆ WasmFieldTypeBits
◆ Kind
Enumerator |
---|
kElement | |
kIndexedString | |
kNormal | |
kGlobal | |
kField | |
kConstantFromPrototype | |
kAccessorFromPrototype | |
kNativeDataProperty | |
kApiGetter | |
kInterceptor | |
kSlow | |
kProxy | |
kNonExistent | |
kModuleExport | |
Definition at line 49 of file handler-configuration.h.
◆ CanHandleHolderNotLookupStart()
bool v8::internal::LoadHandler::CanHandleHolderNotLookupStart |
( |
Tagged< Object > | handler | ) |
|
|
static |
◆ GetHandlerKind()
◆ GetKeyedAccessLoadMode()
◆ LoadAccessorFromPrototype()
◆ LoadApiGetter()
◆ LoadConstantFromPrototype()
Handle< Smi > v8::internal::LoadHandler::LoadConstantFromPrototype |
( |
Isolate * | isolate | ) |
|
|
inlinestatic |
◆ LoadElement()
◆ LoadField()
◆ LoadFromPrototype()
◆ LoadFullChain()
◆ LoadGlobal()
◆ LoadIndexedString()
◆ LoadInterceptor()
◆ LoadModuleExport()
Handle< Smi > v8::internal::LoadHandler::LoadModuleExport |
( |
Isolate * | isolate, |
|
|
int | index ) |
|
inlinestatic |
◆ LoadNativeDataProperty()
Handle< Smi > v8::internal::LoadHandler::LoadNativeDataProperty |
( |
Isolate * | isolate, |
|
|
int | descriptor ) |
|
inlinestatic |
◆ LoadNonExistent()
◆ LoadNormal()
◆ LoadProxy()
◆ LoadSlow()
◆ LoadWasmArrayElement()
◆ LoadWasmStructField()
The documentation for this class was generated from the following files: