![]() |
v8 13.6.233 (node 24.1.0)
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 | MaybeDefineIteratorConcept |
struct | MaybeDefineIteratorConcept< Iterator, std::enable_if_t< kHaveIteratorCategory< Iterator > &&!kHaveIteratorConcept< Iterator > > > |
struct | MaybeDefineIteratorConcept< Iterator, std::enable_if_t< kHaveIteratorConcept< Iterator > > > |
struct | SmiTagging |
struct | SmiTagging< 4 > |
struct | SmiTagging< 8 > |
class | StrongRootAllocator |
class | StrongRootAllocatorBase |
struct | TagRange |
struct | TypeInfoHelper |
struct | TypeInfoHelper< const FastOneByteString & > |
struct | TypeInfoHelper< FastApiCallbackOptions & > |
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 | CppHeapPointerHandle = uint32_t |
using | CppHeapPointer_t = Address |
using | ExternalPointerTagRange = TagRange<ExternalPointerTag> |
using | IndirectPointerHandle = uint32_t |
using | TrustedPointerHandle = IndirectPointerHandle |
using | CodePointerHandle = IndirectPointerHandle |
Variables | |
constexpr int | KB = 1024 |
constexpr int | MB = KB * 1024 |
constexpr int | GB = MB * 1024 |
const int | kApiSystemPointerSize = sizeof(void*) |
const int | kApiDoubleSize = sizeof(double) |
const int | kApiInt32Size = sizeof(int32_t) |
const int | kApiInt64Size = sizeof(int64_t) |
const int | kApiSizetSize = sizeof(size_t) |
const int | kHeapObjectTag = 1 |
const int | kWeakHeapObjectTag = 3 |
const int | kHeapObjectTagSize = 2 |
const intptr_t | kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1 |
const intptr_t | kHeapObjectReferenceTagMask = 1 << (kHeapObjectTagSize - 1) |
const int | kForwardingTag = 0 |
const int | kForwardingTagSize = 2 |
const intptr_t | kForwardingTagMask = (1 << kForwardingTagSize) - 1 |
const int | kSmiTag = 0 |
const int | kSmiTagSize = 1 |
const intptr_t | kSmiTagMask = (1 << kSmiTagSize) - 1 |
constexpr intptr_t | kIntptrAllBitsSet = intptr_t{-1} |
constexpr uintptr_t | kUintptrAllBitsSet |
const int | kApiTaggedSize = kApiSystemPointerSize |
const int | kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize |
const int | kSmiValueSize = PlatformSmiTagging::kSmiValueSize |
const int | kSmiMinValue = static_cast<int>(PlatformSmiTagging::kSmiMinValue) |
const int | kSmiMaxValue = static_cast<int>(PlatformSmiTagging::kSmiMaxValue) |
constexpr size_t | kMaxExternalPointers = 0 |
constexpr uint64_t | kExternalPointerMarkBit = 1ULL << 48 |
constexpr uint64_t | kExternalPointerTagShift = 49 |
constexpr uint64_t | kExternalPointerTagMask = 0x00fe000000000000ULL |
constexpr uint64_t | kExternalPointerShiftedTagMask |
constexpr uint64_t | kExternalPointerTagAndMarkbitMask = 0x00ff000000000000ULL |
constexpr uint64_t | kExternalPointerPayloadMask = 0xff00ffffffffffffULL |
constexpr ExternalPointer_t | kNullExternalPointer = 0 |
constexpr ExternalPointerHandle | kNullExternalPointerHandle = 0 |
constexpr CppHeapPointer_t | kNullCppHeapPointer = 0 |
constexpr CppHeapPointerHandle | kNullCppHeapPointerHandle = 0 |
constexpr uint64_t | kCppHeapPointerMarkBit = 1ULL |
constexpr uint64_t | kCppHeapPointerTagShift = 1 |
constexpr uint64_t | kCppHeapPointerPayloadShift = 16 |
constexpr size_t | kMaxCppHeapPointers = 0 |
constexpr IndirectPointerHandle | kNullIndirectPointerHandle = 0 |
constexpr size_t | kTrustedPointerTableReservationSize = 64 * MB |
constexpr uint32_t | kTrustedPointerHandleShift = 9 |
constexpr TrustedPointerHandle | kNullTrustedPointerHandle |
constexpr int | kTrustedPointerTableEntrySize = 8 |
constexpr int | kTrustedPointerTableEntrySizeLog2 = 3 |
constexpr size_t | kMaxTrustedPointers |
constexpr size_t | kCodePointerTableReservationSize = 128 * MB |
constexpr uint32_t | kCodePointerHandleShift = 9 |
constexpr CodePointerHandle | kNullCodePointerHandle = kNullIndirectPointerHandle |
constexpr uint32_t | kCodePointerHandleMarker = 0x1 |
constexpr int | kCodePointerTableEntrySize = 16 |
constexpr int | kCodePointerTableEntrySizeLog2 = 4 |
constexpr size_t | kMaxCodePointers |
constexpr int | kCodePointerTableEntryEntrypointOffset = 0 |
constexpr int | kCodePointerTableEntryCodeObjectOffset = 8 |
constexpr bool | kRuntimeGeneratedCodeObjectsLiveInTrustedSpace = true |
constexpr bool | kBuiltinCodeObjectsLiveInTrustedSpace = false |
constexpr bool | kAllCodeObjectsLiveInTrustedSpace |
constexpr int | kGarbageCollectionReasonMaxValue = 29 |
template<typename Iterator, typename = void> | |
constexpr bool | kHaveIteratorConcept = false |
template<typename Iterator> | |
constexpr bool | kHaveIteratorConcept< Iterator, std::void_t< typename Iterator::iterator_concept > > = true |
template<typename Iterator, typename = void> | |
constexpr bool | kHaveIteratorCategory = false |
template<typename Iterator> | |
constexpr bool | kHaveIteratorCategory< Iterator, std::void_t< typename Iterator::iterator_category > > = true |
typedef uintptr_t Address |
Definition at line 52 of file v8-internal.h.
Definition at line 771 of file v8-internal.h.
using CppHeapPointer_t = Address |
Definition at line 385 of file v8-internal.h.
using CppHeapPointerHandle = uint32_t |
Definition at line 376 of file v8-internal.h.
using ExternalPointer_t = Address |
Definition at line 365 of file v8-internal.h.
using ExternalPointerHandle = uint32_t |
Definition at line 357 of file v8-internal.h.
Definition at line 644 of file v8-internal.h.
using IndirectPointerHandle = uint32_t |
Definition at line 713 of file v8-internal.h.
using PlatformSmiTagging = SmiTagging<kApiTaggedSize> |
Definition at line 199 of file v8-internal.h.
using SandboxedPointer_t = Address |
Definition at line 230 of file v8-internal.h.
Definition at line 733 of file v8-internal.h.
enum ExternalPointerTag : uint16_t |
Definition at line 546 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.
References V8_EXPORT.
Referenced by TracedReference< T >::operator=().
References V8_EXPORT.
Referenced by TracedReferenceBase::Reset().
V8_EXPORT Address * GlobalizeTracedReference | ( | Isolate * | isolate, |
Address | value, | ||
Address * | slot, | ||
TracedReferenceStoreMode | store_mode, | ||
TracedReferenceHandling | reference_handling ) |
References V8_EXPORT.
|
constexpr |
Definition at line 210 of file v8-internal.h.
References kApiSystemPointerSize.
References V8_EXPORT.
Referenced by Context::GetEmbedderData(), Object::GetInternalField(), and Internals::GetIsolateForSandbox().
|
constexpr |
References kFirstExternalPointerTag, and kLastExternalPointerTag.
|
constexpr |
References kFirstForeignExternalPointerTag, and kLastForeignExternalPointerTag.
|
constexpr |
References kFirstManagedExternalPointerTag, and kLastManagedExternalPointerTag.
|
constexpr |
|
constexpr |
|
constexpr |
References kFirstSharedExternalPointerTag, and kLastSharedExternalPointerTag.
Referenced by kAnyManagedResourceExternalPointerTag().
References V8_EXPORT.
Referenced by TracedReference< T >::operator=().
V8_INLINE void PerformCastCheck | ( | T * | data | ) |
Definition at line 1336 of file v8-internal.h.
References V8_INLINE.
Referenced by Context::GetDataFromSnapshotOnce(), Isolate::GetDataFromSnapshotOnce(), ReturnValue< T >::Set(), ReturnValue< T >::SetEmptyString(), ReturnValue< T >::SetFalse(), ReturnValue< T >::SetNull(), and ReturnValue< T >::SetUndefined().
|
constexpr |
Definition at line 192 of file v8-internal.h.
References kApiSystemPointerSize, and kApiTaggedSize.
Referenced by V8::Initialize().
void PrintFunctionCallbackInfo | ( | void * | function_callback_info | ) |
void PrintPropertyCallbackInfo | ( | void * | property_callback_info | ) |
|
constexpr |
Definition at line 220 of file v8-internal.h.
Referenced by V8::Initialize().
V8_EXPORT bool ShouldThrowOnError | ( | internal::Isolate * | isolate | ) |
References V8_EXPORT.
Referenced by PropertyCallbackInfo< T >::ShouldThrowOnError().
|
constexpr |
Definition at line 208 of file v8-internal.h.
References kSmiValueSize.
Referenced by V8::Initialize().
|
constexpr |
Definition at line 209 of file v8-internal.h.
References kSmiValueSize.
V8_EXPORT void VerifyHandleIsNonEmpty | ( | bool | is_empty | ) |
References V8_EXPORT.
Referenced by ReturnValue< T >::SetNonEmpty(), ReturnValue< T >::SetNonEmpty(), and ReturnValue< T >::SetNonEmpty().
|
constexpr |
Definition at line 57 of file v8-internal.h.
|
constexpr |
Definition at line 812 of file v8-internal.h.
const int kApiDoubleSize = sizeof(double) |
Definition at line 66 of file v8-internal.h.
const int kApiInt32Size = sizeof(int32_t) |
Definition at line 67 of file v8-internal.h.
const int kApiInt64Size = sizeof(int64_t) |
Definition at line 68 of file v8-internal.h.
const int kApiSizetSize = sizeof(size_t) |
Definition at line 69 of file v8-internal.h.
const int kApiSystemPointerSize = sizeof(void*) |
Configuration of tagging scheme.
Definition at line 65 of file v8-internal.h.
Referenced by Internals::GetEmbedderData(), Internals::GetRootSlot(), FunctionCallbackInfo< T >::internal::PrintFunctionCallbackInfo, Is64(), PointerCompressionIsEnabled(), and Internals::SetEmbedderData().
const int kApiTaggedSize = kApiSystemPointerSize |
Definition at line 189 of file v8-internal.h.
Referenced by PointerCompressionIsEnabled(), and Internals::ReadRawField().
|
constexpr |
Definition at line 55 of file v8-internal.h.
|
constexpr |
Definition at line 811 of file v8-internal.h.
|
constexpr |
Definition at line 792 of file v8-internal.h.
|
constexpr |
Definition at line 780 of file v8-internal.h.
|
constexpr |
Definition at line 806 of file v8-internal.h.
|
constexpr |
Definition at line 805 of file v8-internal.h.
|
constexpr |
Definition at line 797 of file v8-internal.h.
|
constexpr |
Definition at line 798 of file v8-internal.h.
|
constexpr |
Definition at line 776 of file v8-internal.h.
|
constexpr |
Definition at line 391 of file v8-internal.h.
|
constexpr |
Definition at line 393 of file v8-internal.h.
|
constexpr |
Definition at line 392 of file v8-internal.h.
Referenced by CppHeapPointerTagRange::CheckTagOf().
|
constexpr |
Definition at line 340 of file v8-internal.h.
|
constexpr |
Definition at line 348 of file v8-internal.h.
Referenced by Internals::ReadExternalPointerField().
|
constexpr |
Definition at line 343 of file v8-internal.h.
|
constexpr |
Definition at line 347 of file v8-internal.h.
|
constexpr |
Definition at line 342 of file v8-internal.h.
Referenced by Internals::ReadExternalPointerField().
|
constexpr |
Definition at line 341 of file v8-internal.h.
Referenced by Internals::ReadExternalPointerField().
const int kForwardingTag = 0 |
Definition at line 81 of file v8-internal.h.
const intptr_t kForwardingTagMask = (1 << kForwardingTagSize) - 1 |
Definition at line 83 of file v8-internal.h.
const int kForwardingTagSize = 2 |
Definition at line 82 of file v8-internal.h.
|
constexpr |
Definition at line 1347 of file v8-internal.h.
|
inlineconstexpr |
Definition at line 1405 of file v8-internal.h.
|
inlineconstexpr |
Definition at line 1407 of file v8-internal.h.
|
inlineconstexpr |
Definition at line 1399 of file v8-internal.h.
|
inlineconstexpr |
Definition at line 1401 of file v8-internal.h.
const intptr_t kHeapObjectReferenceTagMask = 1 << (kHeapObjectTagSize - 1) |
Definition at line 76 of file v8-internal.h.
const int kHeapObjectTag = 1 |
Definition at line 72 of file v8-internal.h.
Referenced by Internals::HasHeapObjectTag(), and Internals::ReadRawField().
const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1 |
Definition at line 75 of file v8-internal.h.
Referenced by Internals::HasHeapObjectTag().
const int kHeapObjectTagSize = 2 |
Definition at line 74 of file v8-internal.h.
|
constexpr |
Definition at line 93 of file v8-internal.h.
|
constexpr |
Definition at line 799 of file v8-internal.h.
|
constexpr |
Definition at line 414 of file v8-internal.h.
|
constexpr |
Definition at line 336 of file v8-internal.h.
|
constexpr |
Definition at line 751 of file v8-internal.h.
|
constexpr |
Definition at line 783 of file v8-internal.h.
|
constexpr |
Definition at line 388 of file v8-internal.h.
|
constexpr |
Definition at line 389 of file v8-internal.h.
|
constexpr |
Definition at line 368 of file v8-internal.h.
|
constexpr |
Definition at line 369 of file v8-internal.h.
|
constexpr |
Definition at line 716 of file v8-internal.h.
|
constexpr |
Definition at line 745 of file v8-internal.h.
|
constexpr |
Definition at line 810 of file v8-internal.h.
const int kSmiMaxValue = static_cast<int>(PlatformSmiTagging::kSmiMaxValue) |
Definition at line 207 of file v8-internal.h.
const int kSmiMinValue = static_cast<int>(PlatformSmiTagging::kSmiMinValue) |
Definition at line 206 of file v8-internal.h.
const int kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize |
Definition at line 204 of file v8-internal.h.
const int kSmiTag = 0 |
Definition at line 86 of file v8-internal.h.
Referenced by Internals::AddressToSmi().
const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1 |
Definition at line 88 of file v8-internal.h.
const int kSmiTagSize = 1 |
Definition at line 87 of file v8-internal.h.
Referenced by Internals::AddressToSmi(), SmiTagging< 4 >::SmiToInt(), and SmiTagging< 8 >::SmiToInt().
const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize |
Definition at line 205 of file v8-internal.h.
Referenced by SmiValuesAre31Bits(), and SmiValuesAre32Bits().
|
constexpr |
Definition at line 742 of file v8-internal.h.
|
constexpr |
Definition at line 749 of file v8-internal.h.
|
constexpr |
Definition at line 750 of file v8-internal.h.
|
constexpr |
Definition at line 738 of file v8-internal.h.
|
constexpr |
Definition at line 94 of file v8-internal.h.
const int kWeakHeapObjectTag = 3 |
Definition at line 73 of file v8-internal.h.
|
constexpr |
Definition at line 56 of file v8-internal.h.