![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <embedder-data-slot.h>
Public Types | |
using | RawData = Address |
![]() | |
using | TData |
Static Public Member Functions | |
static V8_INLINE void | store_tagged (Tagged< EmbedderDataArray > array, int entry_index, Tagged< Object > value) |
static V8_INLINE void | store_tagged (Tagged< JSObject > object, int embedder_field_index, Tagged< Object > value) |
Static Public Attributes | |
static constexpr int | kTaggedPayloadOffset = 0 |
static constexpr int | kExternalPointerOffset = 0 |
static constexpr int | kRequiredPtrAlignment = kSmiTagSize |
![]() | |
static constexpr size_t | kSlotDataSize |
static constexpr size_t | kSlotDataAlignment |
Private Member Functions | |
V8_INLINE void | gc_safe_store (IsolateForSandbox isolate, Address value) |
Additional Inherited Members | |
![]() | |
SlotBase (Address ptr) | |
Definition at line 33 of file embedder-data-slot.h.
Definition at line 98 of file embedder-data-slot.h.
|
inline |
Definition at line 93 of file embedder-data-slot.h.
v8::internal::EmbedderDataSlot::EmbedderDataSlot | ( | Tagged< EmbedderDataArray > | array, |
int | entry_index ) |
Definition at line 26 of file embedder-data-slot-inl.h.
v8::internal::EmbedderDataSlot::EmbedderDataSlot | ( | Tagged< JSObject > | object, |
int | embedder_field_index ) |
Definition at line 31 of file embedder-data-slot-inl.h.
|
private |
Definition at line 175 of file embedder-data-slot-inl.h.
Definition at line 36 of file embedder-data-slot-inl.h.
EmbedderDataSlot::RawData v8::internal::EmbedderDataSlot::load_raw | ( | IsolateForSandbox | isolate, |
const DisallowGarbageCollection & | no_gc ) const |
Definition at line 152 of file embedder-data-slot-inl.h.
Definition at line 47 of file embedder-data-slot-inl.h.
bool v8::internal::EmbedderDataSlot::MustClearDuringSerialization | ( | const DisallowGarbageCollection & | no_gc | ) |
Definition at line 202 of file embedder-data-slot-inl.h.
bool v8::internal::EmbedderDataSlot::store_aligned_pointer | ( | IsolateForSandbox | isolate, |
Tagged< HeapObject > | host, | ||
void * | ptr ) |
Definition at line 126 of file embedder-data-slot-inl.h.
void v8::internal::EmbedderDataSlot::store_raw | ( | IsolateForSandbox | isolate, |
EmbedderDataSlot::RawData | data, | ||
const DisallowGarbageCollection & | no_gc ) |
Definition at line 169 of file embedder-data-slot-inl.h.
Definition at line 51 of file embedder-data-slot-inl.h.
|
static |
bool v8::internal::EmbedderDataSlot::ToAlignedPointer | ( | IsolateForSandbox | isolate, |
void ** | out_result ) const |
|
staticconstexpr |
Definition at line 88 of file embedder-data-slot.h.
|
staticconstexpr |
Definition at line 91 of file embedder-data-slot.h.
|
staticconstexpr |
Definition at line 87 of file embedder-data-slot.h.