v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
Namespaces | |
namespace | wasm |
Data Structures | |
class | BackingStoreBase |
struct | CastCheck |
class | CFunctionBuilder |
class | CFunctionBuilderWithFunction |
class | CFunctionInfoImpl |
struct | count |
struct | count< T, T, Args... > |
struct | count< T, U, Args... > |
struct | CTypeInfoTraits |
class | CustomArguments |
class | HandleHelper |
class | Internals |
class | LocalUnchecked |
struct | SmiTagging |
struct | SmiTagging< 4 > |
struct | SmiTagging< 8 > |
class | StrongRootAllocator |
class | StrongRootAllocatorBase |
struct | TypeInfoHelper |
struct | TypeInfoHelper< const FastOneByteString & > |
struct | TypeInfoHelper< FastApiCallbackOptions & > |
struct | TypeInfoHelper< v8::Local< v8::Array > > |
struct | TypeInfoHelper< v8::Local< v8::Uint32Array > > |
class | ValueHelper |
class | WrappedIterator |
Typedefs | |
typedef uintptr_t | Address |
using | PlatformSmiTagging = SmiTagging< kApiTaggedSize > |
using | SandboxedPointer_t = Address |
using | ExternalPointerHandle = uint32_t |
using | ExternalPointer_t = Address |
using | IndirectPointerHandle = uint32_t |
using | TrustedPointerHandle = IndirectPointerHandle |
using | CodePointerHandle = IndirectPointerHandle |
Enumerations | |
enum | ExternalPointerTag : uint64_t { kExternalPointerNullTag = MAKE_TAG(1, 0b00000000) , kAnyExternalPointerTag = MAKE_TAG(1, 0b11111111) , kExternalPointerFreeEntryTag = MAKE_TAG(0, 0b11111111) , kExternalPointerEvacuationEntryTag = MAKE_TAG(1, 0b11100111) } |
enum class | TracedReferenceStoreMode { kInitializingStore , kAssigningStore } |
enum class | TracedReferenceHandling { kDefault , kDroppable } |
Functions | |
constexpr bool | PointerCompressionIsEnabled () |
constexpr bool | SmiValuesAre31Bits () |
constexpr bool | SmiValuesAre32Bits () |
constexpr bool | Is64 () |
constexpr bool | SandboxIsEnabled () |
V8_EXPORT internal::Isolate * | IsolateFromNeverReadOnlySpaceObject (Address obj) |
V8_EXPORT bool | ShouldThrowOnError (internal::Isolate *isolate) |
template<class T > | |
V8_INLINE void | PerformCastCheck (T *data) |
template<typename Iterator , typename ElementType , typename OtherIterator , typename OtherElementType > | |
constexpr bool | operator== (const WrappedIterator< Iterator, ElementType > &x, const WrappedIterator< OtherIterator, OtherElementType > &y) noexcept |
template<typename Iterator , typename ElementType , typename OtherIterator , typename OtherElementType > | |
constexpr bool | operator< (const WrappedIterator< Iterator, ElementType > &x, const WrappedIterator< OtherIterator, OtherElementType > &y) noexcept |
template<typename Iterator , typename ElementType , typename OtherIterator , typename OtherElementType > | |
constexpr bool | operator!= (const WrappedIterator< Iterator, ElementType > &x, const WrappedIterator< OtherIterator, OtherElementType > &y) noexcept |
template<typename Iterator , typename ElementType , typename OtherIterator , typename OtherElementType > | |
constexpr bool | operator> (const WrappedIterator< Iterator, ElementType > &x, const WrappedIterator< OtherIterator, OtherElementType > &y) noexcept |
template<typename Iterator , typename ElementType , typename OtherIterator , typename OtherElementType > | |
constexpr bool | operator>= (const WrappedIterator< Iterator, ElementType > &x, const WrappedIterator< OtherIterator, OtherElementType > &y) noexcept |
template<typename Iterator , typename ElementType , typename OtherIterator , typename OtherElementType > | |
constexpr bool | operator<= (const WrappedIterator< Iterator, ElementType > &x, const WrappedIterator< OtherIterator, OtherElementType > &y) noexcept |
template<typename Iterator , typename ElementType , typename OtherIterator , typename OtherElementType > | |
constexpr auto | operator- (const WrappedIterator< Iterator, ElementType > &x, const WrappedIterator< OtherIterator, OtherElementType > &y) noexcept -> decltype(x.base() - y.base()) |
template<typename Iterator , typename ElementType > | |
constexpr WrappedIterator< Iterator > | operator+ (typename WrappedIterator< Iterator, ElementType >::difference_type n, const WrappedIterator< Iterator, ElementType > &x) noexcept |
V8_EXPORT void | VerifyHandleIsNonEmpty (bool is_empty) |
V8_EXPORT internal::Address * | GlobalizeTracedReference (internal::Isolate *isolate, internal::Address value, internal::Address *slot, TracedReferenceStoreMode store_mode, internal::TracedReferenceHandling reference_handling) |
V8_EXPORT void | MoveTracedReference (internal::Address **from, internal::Address **to) |
V8_EXPORT void | CopyTracedReference (const internal::Address *const *from, internal::Address **to) |
V8_EXPORT void | DisposeTracedReference (internal::Address *global_handle) |
typedef uintptr_t Address |
Definition at line 31 of file v8-internal.h.
Definition at line 574 of file v8-internal.h.
using ExternalPointer_t = Address |
Definition at line 298 of file v8-internal.h.
using ExternalPointerHandle = uint32_t |
Definition at line 290 of file v8-internal.h.
using IndirectPointerHandle = uint32_t |
Definition at line 516 of file v8-internal.h.
using PlatformSmiTagging = SmiTagging<kApiTaggedSize> |
Definition at line 142 of file v8-internal.h.
using SandboxedPointer_t = Address |
Definition at line 173 of file v8-internal.h.
Definition at line 536 of file v8-internal.h.
enum ExternalPointerTag : uint64_t |
Enumerator | |
---|---|
kExternalPointerNullTag | |
kAnyExternalPointerTag | |
kExternalPointerFreeEntryTag | |
kExternalPointerEvacuationEntryTag |
Definition at line 447 of file v8-internal.h.
|
strong |
Enumerator | |
---|---|
kDefault | |
kDroppable |
Definition at line 35 of file v8-traced-handle.h.
|
strong |
Enumerator | |
---|---|
kInitializingStore | |
kAssigningStore |
Definition at line 30 of file v8-traced-handle.h.
V8_EXPORT void CopyTracedReference | ( | const internal::Address *const * | from, |
internal::Address ** | to | ||
) |
Referenced by TracedReference< T >::operator=().
V8_EXPORT void DisposeTracedReference | ( | internal::Address * | global_handle | ) |
Referenced by TracedReferenceBase::Reset().
V8_EXPORT internal::Address * GlobalizeTracedReference | ( | internal::Isolate * | isolate, |
internal::Address | value, | ||
internal::Address * | slot, | ||
TracedReferenceStoreMode | store_mode, | ||
internal::TracedReferenceHandling | reference_handling | ||
) |
|
constexpr |
Definition at line 153 of file v8-internal.h.
References kApiSystemPointerSize.
Referenced by Context::GetEmbedderData(), Object::GetInternalField(), and Internals::GetIsolateForSandbox().
V8_EXPORT void MoveTracedReference | ( | internal::Address ** | from, |
internal::Address ** | to | ||
) |
Referenced by TracedReference< T >::operator=().
|
constexprnoexcept |
Definition at line 1262 of file v8-internal.h.
|
constexprnoexcept |
Definition at line 1302 of file v8-internal.h.
|
constexprnoexcept |
Definition at line 1294 of file v8-internal.h.
|
constexprnoexcept |
Definition at line 1254 of file v8-internal.h.
|
constexprnoexcept |
Definition at line 1286 of file v8-internal.h.
|
constexprnoexcept |
Definition at line 1246 of file v8-internal.h.
|
constexprnoexcept |
Definition at line 1270 of file v8-internal.h.
|
constexprnoexcept |
Definition at line 1278 of file v8-internal.h.
V8_INLINE void PerformCastCheck | ( | T * | data | ) |
Definition at line 1091 of file v8-internal.h.
Referenced by Context::GetDataFromSnapshotOnce().
|
constexpr |
Definition at line 135 of file v8-internal.h.
References kApiSystemPointerSize, and kApiTaggedSize.
|
constexpr |
Definition at line 163 of file v8-internal.h.
V8_EXPORT bool ShouldThrowOnError | ( | internal::Isolate * | isolate | ) |
Referenced by PropertyCallbackInfo< T >::ShouldThrowOnError().
|
constexpr |
Definition at line 151 of file v8-internal.h.
References kSmiValueSize.
|
constexpr |
Definition at line 152 of file v8-internal.h.
References kSmiValueSize.
V8_EXPORT void VerifyHandleIsNonEmpty | ( | bool | is_empty | ) |
|
constexpr |
Definition at line 36 of file v8-internal.h.
|
constexpr |
Definition at line 615 of file v8-internal.h.
|
constexpr |
Definition at line 383 of file v8-internal.h.
const int kApiDoubleSize = sizeof(double) |
Definition at line 45 of file v8-internal.h.
const int kApiInt32Size = sizeof(int32_t) |
Definition at line 46 of file v8-internal.h.
const int kApiInt64Size = sizeof(int64_t) |
Definition at line 47 of file v8-internal.h.
const int kApiSizetSize = sizeof(size_t) |
Definition at line 48 of file v8-internal.h.
const int kApiSystemPointerSize = sizeof(void*) |
Configuration of tagging scheme.
Definition at line 44 of file v8-internal.h.
Referenced by Internals::GetEmbedderData(), Internals::GetRootSlot(), Is64(), PointerCompressionIsEnabled(), and Internals::SetEmbedderData().
const int kApiTaggedSize = kApiSystemPointerSize |
Definition at line 132 of file v8-internal.h.
Referenced by PointerCompressionIsEnabled(), and Internals::ReadRawField().
|
constexpr |
Definition at line 34 of file v8-internal.h.
|
constexpr |
Definition at line 614 of file v8-internal.h.
|
constexpr |
Definition at line 595 of file v8-internal.h.
|
constexpr |
Definition at line 583 of file v8-internal.h.
|
constexpr |
Definition at line 609 of file v8-internal.h.
|
constexpr |
Definition at line 608 of file v8-internal.h.
|
constexpr |
Definition at line 600 of file v8-internal.h.
|
constexpr |
Definition at line 601 of file v8-internal.h.
|
constexpr |
Definition at line 579 of file v8-internal.h.
|
constexpr |
Definition at line 374 of file v8-internal.h.
|
constexpr |
Definition at line 375 of file v8-internal.h.
|
constexpr |
Definition at line 376 of file v8-internal.h.
|
constexpr |
Definition at line 377 of file v8-internal.h.
const int kForwardingTag = 0 |
Definition at line 60 of file v8-internal.h.
const intptr_t kForwardingTagMask = (1 << kForwardingTagSize) - 1 |
Definition at line 62 of file v8-internal.h.
const int kForwardingTagSize = 2 |
Definition at line 61 of file v8-internal.h.
|
constexpr |
Definition at line 1102 of file v8-internal.h.
const intptr_t kHeapObjectReferenceTagMask = 1 << (kHeapObjectTagSize - 1) |
Definition at line 55 of file v8-internal.h.
const int kHeapObjectTag = 1 |
Definition at line 51 of file v8-internal.h.
Referenced by Internals::HasHeapObjectTag(), and Internals::ReadRawField().
const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1 |
Definition at line 54 of file v8-internal.h.
Referenced by Internals::HasHeapObjectTag().
const int kHeapObjectTagSize = 2 |
Definition at line 53 of file v8-internal.h.
|
constexpr |
Definition at line 72 of file v8-internal.h.
|
constexpr |
Definition at line 602 of file v8-internal.h.
|
constexpr |
Definition at line 279 of file v8-internal.h.
|
constexpr |
Definition at line 554 of file v8-internal.h.
|
constexpr |
Definition at line 586 of file v8-internal.h.
|
constexpr |
Definition at line 301 of file v8-internal.h.
|
constexpr |
Definition at line 302 of file v8-internal.h.
|
constexpr |
Definition at line 519 of file v8-internal.h.
|
constexpr |
Definition at line 548 of file v8-internal.h.
|
constexpr |
Definition at line 613 of file v8-internal.h.
const int kSmiMaxValue = static_cast<int>(PlatformSmiTagging::kSmiMaxValue) |
Definition at line 150 of file v8-internal.h.
Referenced by SmiTagging< 4 >::IsValidSmi().
const int kSmiMinValue = static_cast<int>(PlatformSmiTagging::kSmiMinValue) |
Definition at line 149 of file v8-internal.h.
Referenced by SmiTagging< 4 >::IsValidSmi().
const int kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize |
Definition at line 147 of file v8-internal.h.
Referenced by SmiTagging< 4 >::SmiToInt(), and SmiTagging< 8 >::SmiToInt().
const int kSmiTag = 0 |
Definition at line 65 of file v8-internal.h.
const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1 |
Definition at line 67 of file v8-internal.h.
const int kSmiTagSize = 1 |
Definition at line 66 of file v8-internal.h.
Referenced by SmiTagging< 4 >::SmiToInt(), and SmiTagging< 8 >::SmiToInt().
const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize |
Definition at line 148 of file v8-internal.h.
Referenced by SmiValuesAre31Bits(), and SmiValuesAre32Bits().
|
constexpr |
Definition at line 545 of file v8-internal.h.
|
constexpr |
Definition at line 552 of file v8-internal.h.
|
constexpr |
Definition at line 553 of file v8-internal.h.
|
constexpr |
Definition at line 541 of file v8-internal.h.
|
constexpr |
Definition at line 73 of file v8-internal.h.
const int kWeakHeapObjectTag = 3 |
Definition at line 52 of file v8-internal.h.
|
constexpr |
Definition at line 35 of file v8-internal.h.