v8 13.6.233 (node 24.1.0)
V8 is Google's open source JavaScript engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
v8::internal Namespace Reference

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
 

Enumerations

enum  ExternalPointerTag : uint16_t {
  kFirstExternalPointerTag = 0 , kExternalPointerNullTag = 0 , kFirstSharedExternalPointerTag , kWaiterQueueNodeTag = kFirstSharedExternalPointerTag ,
  kExternalStringResourceTag , kExternalStringResourceDataTag , kLastSharedExternalPointerTag = kExternalStringResourceDataTag , kNativeContextMicrotaskQueueTag ,
  kEmbedderDataSlotPayloadTag , kExternalObjectValueTag , kFirstMaybeReadOnlyExternalPointerTag , kFunctionTemplateInfoCallbackTag = kFirstMaybeReadOnlyExternalPointerTag ,
  kAccessorInfoGetterTag , kAccessorInfoSetterTag , kLastMaybeReadOnlyExternalPointerTag = kAccessorInfoSetterTag , kWasmInternalFunctionCallTargetTag ,
  kWasmTypeInfoNativeTypeTag , kWasmExportedFunctionDataSignatureTag , kWasmStackMemoryTag , kWasmIndirectFunctionTargetTag ,
  kFirstForeignExternalPointerTag , kGenericForeignTag = kFirstForeignExternalPointerTag , kApiNamedPropertyQueryCallbackTag , kApiNamedPropertyGetterCallbackTag ,
  kApiNamedPropertySetterCallbackTag , kApiNamedPropertyDescriptorCallbackTag , kApiNamedPropertyDefinerCallbackTag , kApiNamedPropertyDeleterCallbackTag ,
  kApiIndexedPropertyQueryCallbackTag , kApiIndexedPropertyGetterCallbackTag , kApiIndexedPropertySetterCallbackTag , kApiIndexedPropertyDescriptorCallbackTag ,
  kApiIndexedPropertyDefinerCallbackTag , kApiIndexedPropertyDeleterCallbackTag , kApiIndexedPropertyEnumeratorCallbackTag , kApiAccessCheckCallbackTag ,
  kApiAbortScriptExecutionCallbackTag , kSyntheticModuleTag , kMicrotaskCallbackTag , kMicrotaskCallbackDataTag ,
  kCFunctionTag , kCFunctionInfoTag , kMessageListenerTag , kWaiterQueueForeignTag ,
  kFirstManagedResourceTag , kFirstManagedExternalPointerTag = kFirstManagedResourceTag , kGenericManagedTag = kFirstManagedExternalPointerTag , kWasmWasmStreamingTag ,
  kWasmFuncDataTag , kWasmManagedDataTag , kWasmNativeModuleTag , kIcuBreakIteratorTag ,
  kIcuUnicodeStringTag , kIcuListFormatterTag , kIcuLocaleTag , kIcuSimpleDateFormatTag ,
  kIcuDateIntervalFormatTag , kIcuRelativeDateTimeFormatterTag , kIcuLocalizedNumberFormatterTag , kIcuPluralRulesTag ,
  kIcuCollatorTag , kDisplayNamesInternalTag , kD8WorkerTag , kD8ModuleEmbedderDataTag ,
  kLastForeignExternalPointerTag = kD8ModuleEmbedderDataTag , kLastManagedExternalPointerTag = kLastForeignExternalPointerTag , kArrayBufferExtensionTag , kLastManagedResourceTag = kArrayBufferExtensionTag ,
  kExternalPointerZappedEntryTag = 0x7d , kExternalPointerEvacuationEntryTag = 0x7e , kExternalPointerFreeEntryTag = 0x7f , kLastExternalPointerTag = 0x7f
}
 
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 ()
 
constexpr ExternalPointerTagRange kAnyExternalPointerTagRange (kFirstExternalPointerTag, kLastExternalPointerTag)
 
constexpr ExternalPointerTagRange kAnySharedExternalPointerTagRange (kFirstSharedExternalPointerTag, kLastSharedExternalPointerTag)
 
constexpr ExternalPointerTagRange kAnyForeignExternalPointerTagRange (kFirstForeignExternalPointerTag, kLastForeignExternalPointerTag)
 
constexpr ExternalPointerTagRange kAnyManagedExternalPointerTagRange (kFirstManagedExternalPointerTag, kLastManagedExternalPointerTag)
 
constexpr ExternalPointerTagRange kAnyMaybeReadOnlyExternalPointerTagRange (kFirstMaybeReadOnlyExternalPointerTag, kLastMaybeReadOnlyExternalPointerTag)
 
constexpr ExternalPointerTagRange kAnyManagedResourceExternalPointerTag (kFirstManagedResourceTag, kLastManagedResourceTag)
 
V8_EXPORT internal::Isolate * IsolateFromNeverReadOnlySpaceObject (Address obj)
 
V8_EXPORT bool ShouldThrowOnError (internal::Isolate *isolate)
 
template<class T>
V8_INLINE void PerformCastCheck (T *data)
 
V8_EXPORT void VerifyHandleIsNonEmpty (bool is_empty)
 
void PrintFunctionCallbackInfo (void *function_callback_info)
 
void PrintPropertyCallbackInfo (void *property_callback_info)
 
V8_EXPORT AddressGlobalizeTracedReference (Isolate *isolate, Address value, Address *slot, TracedReferenceStoreMode store_mode, TracedReferenceHandling reference_handling)
 
V8_EXPORT void MoveTracedReference (Address **from, Address **to)
 
V8_EXPORT void CopyTracedReference (const Address *const *from, Address **to)
 
V8_EXPORT void DisposeTracedReference (Address *global_handle)
 

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 Documentation

◆ Address

typedef uintptr_t Address

Definition at line 52 of file v8-internal.h.

◆ CodePointerHandle

Definition at line 771 of file v8-internal.h.

◆ CppHeapPointer_t

Definition at line 385 of file v8-internal.h.

◆ CppHeapPointerHandle

using CppHeapPointerHandle = uint32_t

Definition at line 376 of file v8-internal.h.

◆ ExternalPointer_t

Definition at line 365 of file v8-internal.h.

◆ ExternalPointerHandle

using ExternalPointerHandle = uint32_t

Definition at line 357 of file v8-internal.h.

◆ ExternalPointerTagRange

◆ IndirectPointerHandle

using IndirectPointerHandle = uint32_t

Definition at line 713 of file v8-internal.h.

◆ PlatformSmiTagging

Definition at line 199 of file v8-internal.h.

◆ SandboxedPointer_t

Definition at line 230 of file v8-internal.h.

◆ TrustedPointerHandle

Definition at line 733 of file v8-internal.h.

Enumeration Type Documentation

◆ ExternalPointerTag

enum ExternalPointerTag : uint16_t
Enumerator
kFirstExternalPointerTag 
kExternalPointerNullTag 
kFirstSharedExternalPointerTag 
kWaiterQueueNodeTag 
kExternalStringResourceTag 
kExternalStringResourceDataTag 
kLastSharedExternalPointerTag 
kNativeContextMicrotaskQueueTag 
kEmbedderDataSlotPayloadTag 
kExternalObjectValueTag 
kFirstMaybeReadOnlyExternalPointerTag 
kFunctionTemplateInfoCallbackTag 
kAccessorInfoGetterTag 
kAccessorInfoSetterTag 
kLastMaybeReadOnlyExternalPointerTag 
kWasmInternalFunctionCallTargetTag 
kWasmTypeInfoNativeTypeTag 
kWasmExportedFunctionDataSignatureTag 
kWasmStackMemoryTag 
kWasmIndirectFunctionTargetTag 
kFirstForeignExternalPointerTag 
kGenericForeignTag 
kApiNamedPropertyQueryCallbackTag 
kApiNamedPropertyGetterCallbackTag 
kApiNamedPropertySetterCallbackTag 
kApiNamedPropertyDescriptorCallbackTag 
kApiNamedPropertyDefinerCallbackTag 
kApiNamedPropertyDeleterCallbackTag 
kApiIndexedPropertyQueryCallbackTag 
kApiIndexedPropertyGetterCallbackTag 
kApiIndexedPropertySetterCallbackTag 
kApiIndexedPropertyDescriptorCallbackTag 
kApiIndexedPropertyDefinerCallbackTag 
kApiIndexedPropertyDeleterCallbackTag 
kApiIndexedPropertyEnumeratorCallbackTag 
kApiAccessCheckCallbackTag 
kApiAbortScriptExecutionCallbackTag 
kSyntheticModuleTag 
kMicrotaskCallbackTag 
kMicrotaskCallbackDataTag 
kCFunctionTag 
kCFunctionInfoTag 
kMessageListenerTag 
kWaiterQueueForeignTag 
kFirstManagedResourceTag 
kFirstManagedExternalPointerTag 
kGenericManagedTag 
kWasmWasmStreamingTag 
kWasmFuncDataTag 
kWasmManagedDataTag 
kWasmNativeModuleTag 
kIcuBreakIteratorTag 
kIcuUnicodeStringTag 
kIcuListFormatterTag 
kIcuLocaleTag 
kIcuSimpleDateFormatTag 
kIcuDateIntervalFormatTag 
kIcuRelativeDateTimeFormatterTag 
kIcuLocalizedNumberFormatterTag 
kIcuPluralRulesTag 
kIcuCollatorTag 
kDisplayNamesInternalTag 
kD8WorkerTag 
kD8ModuleEmbedderDataTag 
kLastForeignExternalPointerTag 
kLastManagedExternalPointerTag 
kArrayBufferExtensionTag 
kLastManagedResourceTag 
kExternalPointerZappedEntryTag 
kExternalPointerEvacuationEntryTag 
kExternalPointerFreeEntryTag 
kLastExternalPointerTag 

Definition at line 546 of file v8-internal.h.

◆ TracedReferenceHandling

enum class TracedReferenceHandling
strong
Enumerator
kDefault 
kDroppable 

Definition at line 35 of file v8-traced-handle.h.

◆ TracedReferenceStoreMode

enum class TracedReferenceStoreMode
strong
Enumerator
kInitializingStore 
kAssigningStore 

Definition at line 30 of file v8-traced-handle.h.

Function Documentation

◆ CopyTracedReference()

V8_EXPORT void CopyTracedReference ( const Address *const * from,
Address ** to )

References V8_EXPORT.

Referenced by TracedReference< T >::operator=().

◆ DisposeTracedReference()

V8_EXPORT void DisposeTracedReference ( Address * global_handle)

References V8_EXPORT.

Referenced by TracedReferenceBase::Reset().

◆ GlobalizeTracedReference()

V8_EXPORT Address * GlobalizeTracedReference ( Isolate * isolate,
Address value,
Address * slot,
TracedReferenceStoreMode store_mode,
TracedReferenceHandling reference_handling )

References V8_EXPORT.

◆ Is64()

bool Is64 ( )
constexpr

Definition at line 210 of file v8-internal.h.

References kApiSystemPointerSize.

◆ IsolateFromNeverReadOnlySpaceObject()

V8_EXPORT internal::Isolate * IsolateFromNeverReadOnlySpaceObject ( Address obj)

◆ kAnyExternalPointerTagRange()

◆ kAnyForeignExternalPointerTagRange()

◆ kAnyManagedExternalPointerTagRange()

◆ kAnyManagedResourceExternalPointerTag()

◆ kAnyMaybeReadOnlyExternalPointerTagRange()

◆ kAnySharedExternalPointerTagRange()

◆ MoveTracedReference()

V8_EXPORT void MoveTracedReference ( Address ** from,
Address ** to )

References V8_EXPORT.

Referenced by TracedReference< T >::operator=().

◆ PerformCastCheck()

◆ PointerCompressionIsEnabled()

bool PointerCompressionIsEnabled ( )
constexpr

Definition at line 192 of file v8-internal.h.

References kApiSystemPointerSize, and kApiTaggedSize.

Referenced by V8::Initialize().

◆ PrintFunctionCallbackInfo()

void PrintFunctionCallbackInfo ( void * function_callback_info)

◆ PrintPropertyCallbackInfo()

void PrintPropertyCallbackInfo ( void * property_callback_info)

◆ SandboxIsEnabled()

bool SandboxIsEnabled ( )
constexpr

Definition at line 220 of file v8-internal.h.

Referenced by V8::Initialize().

◆ ShouldThrowOnError()

V8_EXPORT bool ShouldThrowOnError ( internal::Isolate * isolate)

◆ SmiValuesAre31Bits()

bool SmiValuesAre31Bits ( )
constexpr

Definition at line 208 of file v8-internal.h.

References kSmiValueSize.

Referenced by V8::Initialize().

◆ SmiValuesAre32Bits()

bool SmiValuesAre32Bits ( )
constexpr

Definition at line 209 of file v8-internal.h.

References kSmiValueSize.

◆ VerifyHandleIsNonEmpty()

V8_EXPORT void VerifyHandleIsNonEmpty ( bool is_empty)

Variable Documentation

◆ GB

int GB = MB * 1024
constexpr

Definition at line 57 of file v8-internal.h.

◆ kAllCodeObjectsLiveInTrustedSpace

bool kAllCodeObjectsLiveInTrustedSpace
constexpr
Initial value:

Definition at line 812 of file v8-internal.h.

◆ kApiDoubleSize

const int kApiDoubleSize = sizeof(double)

Definition at line 66 of file v8-internal.h.

◆ kApiInt32Size

const int kApiInt32Size = sizeof(int32_t)

Definition at line 67 of file v8-internal.h.

◆ kApiInt64Size

const int kApiInt64Size = sizeof(int64_t)

Definition at line 68 of file v8-internal.h.

◆ kApiSizetSize

const int kApiSizetSize = sizeof(size_t)

Definition at line 69 of file v8-internal.h.

◆ kApiSystemPointerSize

const int kApiSystemPointerSize = sizeof(void*)

◆ kApiTaggedSize

const int kApiTaggedSize = kApiSystemPointerSize

Definition at line 189 of file v8-internal.h.

Referenced by PointerCompressionIsEnabled(), and Internals::ReadRawField().

◆ KB

int KB = 1024
constexpr

Definition at line 55 of file v8-internal.h.

◆ kBuiltinCodeObjectsLiveInTrustedSpace

bool kBuiltinCodeObjectsLiveInTrustedSpace = false
constexpr

Definition at line 811 of file v8-internal.h.

◆ kCodePointerHandleMarker

uint32_t kCodePointerHandleMarker = 0x1
constexpr

Definition at line 792 of file v8-internal.h.

◆ kCodePointerHandleShift

uint32_t kCodePointerHandleShift = 9
constexpr

Definition at line 780 of file v8-internal.h.

◆ kCodePointerTableEntryCodeObjectOffset

int kCodePointerTableEntryCodeObjectOffset = 8
constexpr

Definition at line 806 of file v8-internal.h.

◆ kCodePointerTableEntryEntrypointOffset

int kCodePointerTableEntryEntrypointOffset = 0
constexpr

Definition at line 805 of file v8-internal.h.

◆ kCodePointerTableEntrySize

int kCodePointerTableEntrySize = 16
constexpr

Definition at line 797 of file v8-internal.h.

◆ kCodePointerTableEntrySizeLog2

int kCodePointerTableEntrySizeLog2 = 4
constexpr

Definition at line 798 of file v8-internal.h.

◆ kCodePointerTableReservationSize

size_t kCodePointerTableReservationSize = 128 * MB
constexpr

Definition at line 776 of file v8-internal.h.

◆ kCppHeapPointerMarkBit

uint64_t kCppHeapPointerMarkBit = 1ULL
constexpr

Definition at line 391 of file v8-internal.h.

◆ kCppHeapPointerPayloadShift

uint64_t kCppHeapPointerPayloadShift = 16
constexpr

Definition at line 393 of file v8-internal.h.

◆ kCppHeapPointerTagShift

uint64_t kCppHeapPointerTagShift = 1
constexpr

Definition at line 392 of file v8-internal.h.

Referenced by CppHeapPointerTagRange::CheckTagOf().

◆ kExternalPointerMarkBit

uint64_t kExternalPointerMarkBit = 1ULL << 48
constexpr

Definition at line 340 of file v8-internal.h.

◆ kExternalPointerPayloadMask

uint64_t kExternalPointerPayloadMask = 0xff00ffffffffffffULL
constexpr

Definition at line 348 of file v8-internal.h.

Referenced by Internals::ReadExternalPointerField().

◆ kExternalPointerShiftedTagMask

uint64_t kExternalPointerShiftedTagMask
constexpr
Initial value:
=
constexpr uint64_t kExternalPointerTagShift
constexpr uint64_t kExternalPointerTagMask

Definition at line 343 of file v8-internal.h.

◆ kExternalPointerTagAndMarkbitMask

uint64_t kExternalPointerTagAndMarkbitMask = 0x00ff000000000000ULL
constexpr

Definition at line 347 of file v8-internal.h.

◆ kExternalPointerTagMask

uint64_t kExternalPointerTagMask = 0x00fe000000000000ULL
constexpr

Definition at line 342 of file v8-internal.h.

Referenced by Internals::ReadExternalPointerField().

◆ kExternalPointerTagShift

uint64_t kExternalPointerTagShift = 49
constexpr

Definition at line 341 of file v8-internal.h.

Referenced by Internals::ReadExternalPointerField().

◆ kForwardingTag

const int kForwardingTag = 0

Definition at line 81 of file v8-internal.h.

◆ kForwardingTagMask

const intptr_t kForwardingTagMask = (1 << kForwardingTagSize) - 1

Definition at line 83 of file v8-internal.h.

◆ kForwardingTagSize

const int kForwardingTagSize = 2

Definition at line 82 of file v8-internal.h.

◆ kGarbageCollectionReasonMaxValue

int kGarbageCollectionReasonMaxValue = 29
constexpr

Definition at line 1347 of file v8-internal.h.

◆ kHaveIteratorCategory

template<typename Iterator, typename = void>
bool kHaveIteratorCategory = false
inlineconstexpr

Definition at line 1405 of file v8-internal.h.

◆ kHaveIteratorCategory< Iterator, std::void_t< typename Iterator::iterator_category > >

template<typename Iterator>
bool kHaveIteratorCategory< Iterator, std::void_t< typename Iterator::iterator_category > > = true
inlineconstexpr

Definition at line 1407 of file v8-internal.h.

◆ kHaveIteratorConcept

template<typename Iterator, typename = void>
bool kHaveIteratorConcept = false
inlineconstexpr

Definition at line 1399 of file v8-internal.h.

◆ kHaveIteratorConcept< Iterator, std::void_t< typename Iterator::iterator_concept > >

template<typename Iterator>
bool kHaveIteratorConcept< Iterator, std::void_t< typename Iterator::iterator_concept > > = true
inlineconstexpr

Definition at line 1401 of file v8-internal.h.

◆ kHeapObjectReferenceTagMask

const intptr_t kHeapObjectReferenceTagMask = 1 << (kHeapObjectTagSize - 1)

Definition at line 76 of file v8-internal.h.

◆ kHeapObjectTag

const int kHeapObjectTag = 1

Definition at line 72 of file v8-internal.h.

Referenced by Internals::HasHeapObjectTag(), and Internals::ReadRawField().

◆ kHeapObjectTagMask

const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1

Definition at line 75 of file v8-internal.h.

Referenced by Internals::HasHeapObjectTag().

◆ kHeapObjectTagSize

const int kHeapObjectTagSize = 2

Definition at line 74 of file v8-internal.h.

◆ kIntptrAllBitsSet

intptr_t kIntptrAllBitsSet = intptr_t{-1}
constexpr

Definition at line 93 of file v8-internal.h.

◆ kMaxCodePointers

size_t kMaxCodePointers
constexpr
Initial value:
=
constexpr int kCodePointerTableEntrySize
constexpr size_t kCodePointerTableReservationSize

Definition at line 799 of file v8-internal.h.

◆ kMaxCppHeapPointers

size_t kMaxCppHeapPointers = 0
constexpr

Definition at line 414 of file v8-internal.h.

◆ kMaxExternalPointers

size_t kMaxExternalPointers = 0
constexpr

Definition at line 336 of file v8-internal.h.

◆ kMaxTrustedPointers

size_t kMaxTrustedPointers
constexpr
Initial value:

Definition at line 751 of file v8-internal.h.

◆ kNullCodePointerHandle

CodePointerHandle kNullCodePointerHandle = kNullIndirectPointerHandle
constexpr

Definition at line 783 of file v8-internal.h.

◆ kNullCppHeapPointer

CppHeapPointer_t kNullCppHeapPointer = 0
constexpr

Definition at line 388 of file v8-internal.h.

◆ kNullCppHeapPointerHandle

CppHeapPointerHandle kNullCppHeapPointerHandle = 0
constexpr

Definition at line 389 of file v8-internal.h.

◆ kNullExternalPointer

ExternalPointer_t kNullExternalPointer = 0
constexpr

Definition at line 368 of file v8-internal.h.

◆ kNullExternalPointerHandle

ExternalPointerHandle kNullExternalPointerHandle = 0
constexpr

Definition at line 369 of file v8-internal.h.

◆ kNullIndirectPointerHandle

IndirectPointerHandle kNullIndirectPointerHandle = 0
constexpr

Definition at line 716 of file v8-internal.h.

◆ kNullTrustedPointerHandle

TrustedPointerHandle kNullTrustedPointerHandle
constexpr
Initial value:
=
constexpr IndirectPointerHandle kNullIndirectPointerHandle

Definition at line 745 of file v8-internal.h.

◆ kRuntimeGeneratedCodeObjectsLiveInTrustedSpace

bool kRuntimeGeneratedCodeObjectsLiveInTrustedSpace = true
constexpr

Definition at line 810 of file v8-internal.h.

◆ kSmiMaxValue

const int kSmiMaxValue = static_cast<int>(PlatformSmiTagging::kSmiMaxValue)

Definition at line 207 of file v8-internal.h.

◆ kSmiMinValue

const int kSmiMinValue = static_cast<int>(PlatformSmiTagging::kSmiMinValue)

Definition at line 206 of file v8-internal.h.

◆ kSmiShiftSize

const int kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize

Definition at line 204 of file v8-internal.h.

◆ kSmiTag

const int kSmiTag = 0

Definition at line 86 of file v8-internal.h.

Referenced by Internals::AddressToSmi().

◆ kSmiTagMask

const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1

Definition at line 88 of file v8-internal.h.

◆ kSmiTagSize

const int kSmiTagSize = 1

◆ kSmiValueSize

const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize

Definition at line 205 of file v8-internal.h.

Referenced by SmiValuesAre31Bits(), and SmiValuesAre32Bits().

◆ kTrustedPointerHandleShift

uint32_t kTrustedPointerHandleShift = 9
constexpr

Definition at line 742 of file v8-internal.h.

◆ kTrustedPointerTableEntrySize

int kTrustedPointerTableEntrySize = 8
constexpr

Definition at line 749 of file v8-internal.h.

◆ kTrustedPointerTableEntrySizeLog2

int kTrustedPointerTableEntrySizeLog2 = 3
constexpr

Definition at line 750 of file v8-internal.h.

◆ kTrustedPointerTableReservationSize

size_t kTrustedPointerTableReservationSize = 64 * MB
constexpr

Definition at line 738 of file v8-internal.h.

◆ kUintptrAllBitsSet

uintptr_t kUintptrAllBitsSet
constexpr
Initial value:
=
static_cast<uintptr_t>(kIntptrAllBitsSet)
constexpr intptr_t kIntptrAllBitsSet
Definition v8-internal.h:93

Definition at line 94 of file v8-internal.h.

◆ kWeakHeapObjectTag

const int kWeakHeapObjectTag = 3

Definition at line 73 of file v8-internal.h.

◆ MB

int MB = KB * 1024
constexpr

Definition at line 56 of file v8-internal.h.