5#ifndef INCLUDE_V8_INTERNAL_H_
6#define INCLUDE_V8_INTERNAL_H_
39static constexpr Address kNullAddress = 0;
41constexpr int KB = 1024;
42constexpr int MB =
KB * 1024;
43constexpr int GB =
MB * 1024;
44#ifdef V8_TARGET_ARCH_X64
45constexpr size_t TB =
size_t{
GB} * 1024;
76template <
size_t tagged_ptr_size>
95 return static_cast<int32_t
>(
static_cast<uint32_t
>(value)) >> shift_bits;
98 template <
class T,
typename std::enable_if_t<std::is_
integral_v<T> &&
99 std::is_
signed_v<T>>* =
nullptr>
104 return (
static_cast<uintptr_t
>(value) -
111 typename std::enable_if_t<std::is_integral_v<T> &&
112 std::is_unsigned_v<T>>* =
nullptr>
114 static_assert(kSmiMaxValue <= std::numeric_limits<uintptr_t>::max());
121 return (
static_cast<uint64_t
>(value) -
128 static_assert(kSmiMaxValue <= std::numeric_limits<uint64_t>::max());
145 return static_cast<int>(
static_cast<intptr_t
>(value) >> shift_bits);
148 template <
class T,
typename std::enable_if_t<std::is_
integral_v<T> &&
149 std::is_
signed_v<T>>* =
nullptr>
152 return std::numeric_limits<int32_t>::min() <= value &&
153 value <= std::numeric_limits<int32_t>::max();
157 typename std::enable_if_t<std::is_integral_v<T> &&
158 std::is_unsigned_v<T>>* =
nullptr>
160 return value <= std::numeric_limits<int32_t>::max();
164#ifdef V8_COMPRESS_POINTERS
167constexpr size_t kPtrComprCageReservationSize =
size_t{1} << 32;
168constexpr size_t kPtrComprCageBaseAlignment =
size_t{1} << 32;
172 "Pointer compression can be enabled only for 64-bit architectures");
182#ifdef V8_31BIT_SMIS_ON_64BIT_ARCH
192const int kSmiMinValue =
static_cast<int>(PlatformSmiTagging::kSmiMinValue);
193const int kSmiMaxValue =
static_cast<int>(PlatformSmiTagging::kSmiMaxValue);
207#ifdef V8_ENABLE_SANDBOX
218#ifdef V8_ENABLE_SANDBOX
221#if defined(V8_TARGET_OS_ANDROID)
225constexpr size_t kSandboxSizeLog2 = 37;
226#elif defined(V8_TARGET_OS_IOS)
231constexpr size_t kSandboxSizeLog2 = 34;
234constexpr size_t kSandboxSizeLog2 = 40;
236constexpr size_t kSandboxSize = 1ULL << kSandboxSizeLog2;
243constexpr size_t kSandboxAlignment = kPtrComprCageBaseAlignment;
249constexpr uint64_t kSandboxedPointerShift = 64 - kSandboxSizeLog2;
257constexpr size_t kSandboxGuardRegionSize = 32ULL *
GB + 4ULL *
GB;
259static_assert((kSandboxGuardRegionSize % kSandboxAlignment) == 0,
260 "The size of the guard regions around the sandbox must be a "
261 "multiple of its required alignment.");
273constexpr size_t kSandboxMinimumReservationSize = 8ULL *
GB;
275static_assert(kSandboxMinimumReservationSize > kPtrComprCageReservationSize,
276 "The minimum reservation size for a sandbox must be larger than "
277 "the pointer compression cage contained within it.");
283constexpr size_t kMaxSafeBufferSizeForSandbox = 32ULL *
GB - 1;
284static_assert(kMaxSafeBufferSizeForSandbox <= kSandboxGuardRegionSize,
285 "The maximum allowed buffer size must not be larger than the "
286 "sandbox's guard regions");
288constexpr size_t kBoundedSizeShift = 29;
289static_assert(1ULL << (64 - kBoundedSizeShift) ==
290 kMaxSafeBufferSizeForSandbox + 1,
291 "The maximum size of a BoundedSize must be synchronized with the "
292 "kMaxSafeBufferSizeForSandbox");
296#ifdef V8_COMPRESS_POINTERS
298#ifdef V8_TARGET_OS_ANDROID
304constexpr size_t kExternalPointerTableReservationSize = 256 *
MB;
310constexpr uint32_t kExternalPointerIndexShift = 7;
311#elif defined(V8_TARGET_OS_IOS)
316constexpr size_t kExternalPointerTableReservationSize = 128 *
MB;
317constexpr uint32_t kExternalPointerIndexShift = 8;
319constexpr size_t kExternalPointerTableReservationSize = 512 *
MB;
320constexpr uint32_t kExternalPointerIndexShift = 6;
324constexpr int kExternalPointerTableEntrySize = 8;
325constexpr int kExternalPointerTableEntrySizeLog2 = 3;
327 kExternalPointerTableReservationSize / kExternalPointerTableEntrySize;
329 "kExternalPointerTableReservationSize and "
330 "kExternalPointerIndexShift don't match");
361#ifdef V8_ENABLE_SANDBOX
381#ifdef V8_COMPRESS_POINTERS
394#ifdef V8_COMPRESS_POINTERS
398constexpr size_t kCppHeapPointerTableReservationSize =
399 kExternalPointerTableReservationSize;
400constexpr uint32_t kCppHeapPointerIndexShift = kExternalPointerIndexShift;
402constexpr int kCppHeapPointerTableEntrySize = 8;
403constexpr int kCppHeapPointerTableEntrySizeLog2 = 3;
405 kCppHeapPointerTableReservationSize / kCppHeapPointerTableEntrySize;
407 "kCppHeapPointerTableReservationSize and "
408 "kCppHeapPointerIndexShift don't match");
420#define V8_EMBEDDER_DATA_TAG_COUNT 15
425#define V8_EXTERNAL_POINTER_TAG_COUNT 40
454template <
typename Tag>
456 static_assert(std::is_enum_v<Tag> &&
457 std::is_same_v<std::underlying_type_t<Tag>, uint16_t>,
458 "Tag parameter must be an enum with base type uint16_t");
477 constexpr size_t Size()
const {
489 return static_cast<uint32_t
>(tag) -
static_cast<uint32_t
>(
first) <=
490 static_cast<uint32_t
>(
last) -
static_cast<uint32_t
>(
first);
502 static_assert(std::is_same_v<std::underlying_type_t<Tag>, uint16_t>);
503 return (
static_cast<size_t>(
first) << 16) |
last;
695V8_INLINE static constexpr bool IsSharedExternalPointerType(
703V8_INLINE static constexpr bool IsMaybeReadOnlyExternalPointerType(
712V8_INLINE static constexpr bool IsManagedExternalPointerType(
724V8_INLINE static constexpr bool ExternalPointerCanBeEmpty(
789 "kTrustedPointerTableReservationSize and "
790 "kTrustedPointerHandleShift don't match");
838 "kCodePointerTableReservationSize and kCodePointerHandleShift don't match");
854 "Use GetCurrentIsolate() instead, which is guaranteed to return the same "
855 "isolate since https://crrev.com/c/6458560.")
864 static constexpr uint32_t kSizeInBytes =
873 next = limit =
nullptr;
874 sealed_level = level = 0;
889 return mapword ^ kMapWordXorMask;
903#ifdef V8_COMPRESS_POINTERS
913#ifdef V8_ENABLE_SANDBOX
989#ifdef V8_COMPRESS_POINTERS
990 static const int kIsolateExternalPointerTableOffset =
992 static const int kIsolateSharedExternalPointerTableAddressOffset =
994 static const int kIsolateCppHeapPointerTableOffset =
996#ifdef V8_ENABLE_SANDBOX
997 static const int kIsolateTrustedCageBaseOffset =
999 static const int kIsolateTrustedPointerTableOffset =
1001 static const int kIsolateSharedTrustedPointerTableAddressOffset =
1003 static const int kIsolateTrustedPointerPublishingScopeOffset =
1005 static const int kIsolateCodePointerTableBaseAddressOffset =
1026#if V8_TARGET_ARCH_PPC64
1032#if V8_TARGET_ARCH_ARM64
1048#if V8_STATIC_ROOTS_BOOL
1051#define EXPORTED_STATIC_ROOTS_PTR_LIST(V) \
1052 V(UndefinedValue, 0x11) \
1053 V(NullValue, 0x2d) \
1054 V(TrueValue, 0x71) \
1055 V(FalseValue, 0x55) \
1056 V(EmptyString, 0x49) \
1059 V(TheHoleValue, kBuildDependentTheHoleValue)
1061 using Tagged_t = uint32_t;
1062 struct StaticReadOnlyRoot {
1063#ifdef V8_ENABLE_WEBASSEMBLY
1064 static constexpr Tagged_t kBuildDependentTheHoleValue = 0x2fffd;
1066 static constexpr Tagged_t kBuildDependentTheHoleValue = 0xfffd;
1069#define DEF_ROOT(name, value) static constexpr Tagged_t k##name = value;
1070 EXPORTED_STATIC_ROOTS_PTR_LIST(DEF_ROOT)
1074 static constexpr Tagged_t kStringMapLowerBound = 0;
1075 static constexpr Tagged_t kStringMapUpperBound = 0x425;
1077#define PLUSONE(...) +1
1078 static constexpr size_t kNumberOfExportedStaticRoots =
1079 2 + EXPORTED_STATIC_ROOTS_PTR_LIST(PLUSONE);
1123#ifdef V8_MAP_PACKING
1124 static const uintptr_t kMapWordMetadataMask = 0xffffULL << 48;
1126 static const uintptr_t kMapWordSignature = 0b10;
1131 static const int kMapWordXorMask = 0b11;
1136#ifdef V8_ENABLE_CHECKS
1146 return PlatformSmiTagging::SmiToInt(value);
1150 return (value << (
kSmiTagSize + PlatformSmiTagging::kSmiShiftSize)) |
1158 template <
typename T,
1159 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1164 template <
typename T,
1165 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1167 return PlatformSmiTagging::IsValidSmi(value);
1170 template <
typename T,
1171 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1173 if (
V8_LIKELY(PlatformSmiTagging::IsValidSmi(value))) {
1179#if V8_STATIC_ROOTS_BOOL
1181 return static_cast<Tagged_t
>(obj) == constant;
1184 V8_INLINE static bool CheckInstanceMapRange(
Address obj, Tagged_t first_map,
1185 Tagged_t last_map) {
1187#ifdef V8_MAP_PACKING
1188 map = UnpackMapWord(map);
1190 return map >= first_map && map <= last_map;
1196#ifdef V8_MAP_PACKING
1197 map = UnpackMapWord(map);
1205#ifdef V8_MAP_PACKING
1206 map = UnpackMapWord(map);
1227 (
static_cast<unsigned>(
static_cast<unsigned>(instance_type) -
1234 return *addr &
static_cast<uint8_t
>(1U << shift);
1239 uint8_t mask =
static_cast<uint8_t
>(1U << shift);
1240 *addr =
static_cast<uint8_t
>((*addr & ~mask) | (value << shift));
1250 *addr =
static_cast<uint8_t
>((*addr & ~kNodeStateMask) | value);
1257 *
reinterpret_cast<void**
>(addr) = data;
1264 return *
reinterpret_cast<void* const*
>(addr);
1276 ++(*
reinterpret_cast<size_t*
>(addr));
1282 return reinterpret_cast<Address*
>(addr);
1286#if V8_STATIC_ROOTS_BOOL
1290#define DECOMPRESS_ROOT(name, ...) \
1291 case k##name##RootIndex: \
1292 return base + StaticReadOnlyRoot::k##name;
1293 EXPORTED_STATIC_ROOTS_PTR_LIST(DECOMPRESS_ROOT)
1294#undef DECOMPRESS_ROOT
1295#undef EXPORTED_STATIC_ROOTS_PTR_LIST
1303#ifdef V8_ENABLE_SANDBOX
1306 kIsolateExternalPointerTableOffset +
1308 return *
reinterpret_cast<Address**
>(addr);
1314 kIsolateSharedExternalPointerTableAddressOffset;
1315 addr = *
reinterpret_cast<Address*
>(addr);
1317 return *
reinterpret_cast<Address**
>(addr);
1321 template <
typename T>
1324#ifdef V8_COMPRESS_POINTERS
1331 memcpy(&r,
reinterpret_cast<void*
>(addr),
sizeof(T));
1335 return *
reinterpret_cast<const T*
>(addr);
1340#ifdef V8_COMPRESS_POINTERS
1341 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1342 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1343 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1345 return ReadRawField<Address>(heap_object_ptr, offset);
1351#ifdef V8_COMPRESS_POINTERS
1352 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1353 return static_cast<Address>(
static_cast<uintptr_t
>(value));
1355 return ReadRawField<Address>(heap_object_ptr, offset);
1364#ifdef V8_ENABLE_SANDBOX
1372 template <ExternalPo
interTagRange tag_range>
1376#ifdef V8_ENABLE_SANDBOX
1377 static_assert(!tag_range.IsEmpty());
1380 Address* table = IsSharedExternalPointerType(tag_range)
1381 ? GetSharedExternalPointerTableBase(isolate)
1382 : GetExternalPointerTableBase(isolate);
1384 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1385 uint32_t index = handle >> kExternalPointerIndexShift;
1386 std::atomic<Address>* ptr =
1387 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1388 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1391 if (
V8_LIKELY(tag_range.Contains(actual_tag))) {
1398 return ReadRawField<Address>(heap_object_ptr, offset);
1405#ifdef V8_ENABLE_SANDBOX
1408 Address* table = IsSharedExternalPointerType(tag_range)
1409 ? GetSharedExternalPointerTableBase(isolate)
1410 : GetExternalPointerTableBase(isolate);
1412 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1413 uint32_t index = handle >> kExternalPointerIndexShift;
1414 std::atomic<Address>* ptr =
1415 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1416 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1426 return ReadRawField<Address>(heap_object_ptr, offset);
1430#ifdef V8_COMPRESS_POINTERS
1432 return addr & -
static_cast<intptr_t
>(kPtrComprCageBaseAlignment);
1436 return static_cast<uint32_t
>(value);
1441 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1442 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1450template <
bool PerformCheck>
1469 !std::is_same_v<Data, std::remove_cv_t<T>>>::Perform(data);
1484 Heap*
heap()
const {
return heap_; }
1508template <
typename T>
1513 template <
typename HeapOrIsolateT>
1515 template <
typename U>
1518 using std::allocator<T>::allocate;
1519 using std::allocator<T>::deallocate;
1522template <
typename Iterator>
1525template <
typename Iterator>
1527 requires {
typename Iterator::iterator_category; };
1532template <
typename Iterator>
1535template <HasIteratorConcept Iterator>
1540template <
typename Iterator>
1544 typename std::iterator_traits<Iterator>::iterator_concept;
1551template <
typename Iterator,
typename ElementType =
void>
1555 std::is_void_v<ElementType> ||
1556 (std::is_convertible_v<typename std::iterator_traits<Iterator>::pointer,
1557 std::add_pointer_t<ElementType>> &&
1558 std::is_convertible_v<typename std::iterator_traits<Iterator>::reference,
1559 std::add_lvalue_reference_t<ElementType>>));
1562 typename std::iterator_traits<Iterator>::difference_type;
1564 std::conditional_t<std::is_void_v<ElementType>,
1565 typename std::iterator_traits<Iterator>::value_type,
1568 std::conditional_t<std::is_void_v<ElementType>,
1569 typename std::iterator_traits<Iterator>::pointer,
1570 std::add_pointer_t<ElementType>>;
1572 std::conditional_t<std::is_void_v<ElementType>,
1573 typename std::iterator_traits<Iterator>::reference,
1574 std::add_lvalue_reference_t<ElementType>>;
1576 typename std::iterator_traits<Iterator>::iterator_category;
1581 template <
typename OtherIterator,
typename OtherElementType>
1582 requires std::is_convertible_v<OtherIterator, Iterator>
1585 : it_(other.base()) {}
1589 if constexpr (std::is_pointer_v<Iterator>) {
1592 return it_.operator->();
1596 template <
typename OtherIterator,
typename OtherElementType>
1600 return it_ == other.base();
1603 template <
typename OtherIterator,
typename OtherElementType>
1607 if constexpr (std::three_way_comparable_with<Iterator, OtherIterator>) {
1608 return it_ <=> other.base();
1609 }
else if constexpr (std::totally_ordered_with<Iterator, OtherIterator>) {
1610 if (it_ < other.base()) {
1611 return std::strong_ordering::less;
1613 return (it_ > other.base()) ? std::strong_ordering::greater
1614 : std::strong_ordering::equal;
1616 if (it_ < other.base()) {
1617 return std::partial_ordering::less;
1619 if (other.base() < it_) {
1620 return std::partial_ordering::greater;
1622 return (it_ == other.base()) ? std::partial_ordering::equivalent
1623 : std::partial_ordering::unordered;
1667 template <
typename OtherIterator,
typename OtherElementType>
1671 return it_ - other.base();
1678 [[nodiscard]]
constexpr const Iterator&
base() const noexcept {
return it_; }
1695#ifdef V8_ENABLE_DIRECT_HANDLE
1696 static constexpr Address kTaggedNullAddress = 1;
1705 template <
typename T>
1713 template <
template <
typename T,
typename... Ms>
typename H,
typename T,
1716 return handle.template value<T>();
1719#ifdef V8_ENABLE_DIRECT_HANDLE
1721 template <
typename T>
1723 return reinterpret_cast<Address>(value);
1726 template <
typename T,
bool check_null = true,
typename S>
1728 if (check_null && slot ==
nullptr) {
1729 return reinterpret_cast<T*
>(kTaggedNullAddress);
1731 return *
reinterpret_cast<T**
>(slot);
1734 template <
typename T>
1739 template <
typename T>
1741 return reinterpret_cast<T*
>(repr);
1746 template <
typename T>
1748 return *
reinterpret_cast<const Address*
>(value);
1751 template <
typename T,
bool check_null = true,
typename S>
1753 return reinterpret_cast<T*
>(slot);
1756 template <
typename T>
1759 reinterpret_cast<const Address*
>(value));
1762 template <
typename T>
1764 return reinterpret_cast<T*
>(repr);
1785 template <
typename T1,
typename T2>
1787 if (lhs.IsEmpty())
return rhs.IsEmpty();
1788 if (rhs.IsEmpty())
return false;
1789 return lhs.ptr() == rhs.ptr();
Definition: v8-isolate.h:291
Definition: v8-internal.h:1474
Definition: v8-internal.h:1773
static bool EqualHandles(const T1 &lhs, const T2 &rhs)
Definition: v8-internal.h:1786
Definition: v8-internal.h:885
static Address LoadMap(Address obj)
Definition: v8-internal.h:1202
static constexpr size_t kExternalAllocationSoftLimit
Definition: v8-internal.h:1121
static bool IsExternalTwoByteString(int instance_type)
Definition: v8-internal.h:1215
static const int kIsolateCageBaseOffset
Definition: v8-internal.h:952
static const int kEmbedderDataArrayHeaderSize
Definition: v8-internal.h:911
static const int kHeapObjectMapOffset
Definition: v8-internal.h:896
static const int kEmbedderDataSlotSize
Definition: v8-internal.h:912
static const int kIsolateApiCallbackThunkArgumentOffset
Definition: v8-internal.h:1014
static Address ReadExternalPointerField(v8::Isolate *isolate, Address heap_object_ptr, int offset)
Definition: v8-internal.h:1373
static const int kJSAPIObjectWithEmbedderSlotsHeaderSize
Definition: v8-internal.h:907
static constexpr bool HasHeapObjectTag(Address value)
Definition: v8-internal.h:1141
static Address ReadExternalPointerField(v8::Isolate *isolate, Address heap_object_ptr, int offset, ExternalPointerTagRange tag_range)
Definition: v8-internal.h:1402
static const int kOddballType
Definition: v8-internal.h:1098
static const int kInferShouldThrowMode
Definition: v8-internal.h:1117
static const int kNewAllocationInfoOffset
Definition: v8-internal.h:964
static Address GetRoot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1285
static const int kStringEncodingMask
Definition: v8-internal.h:920
static const int kIsolateFastCCallCallerPcOffset
Definition: v8-internal.h:974
static uint8_t GetNodeFlag(Address *obj, int shift)
Definition: v8-internal.h:1232
static const int kIsolateThreadLocalTopOffset
Definition: v8-internal.h:983
static const uint32_t kNumIsolateDataSlots
Definition: v8-internal.h:927
static const int kForeignType
Definition: v8-internal.h:1099
static const int kJSDispatchTableOffset
Definition: v8-internal.h:1017
static const int kFirstEmbedderJSApiObjectType
Definition: v8-internal.h:1106
static const int kNumberOfBooleanFlags
Definition: v8-internal.h:929
static uint8_t GetNodeState(Address *obj)
Definition: v8-internal.h:1243
static const int kThreadLocalTopSize
Definition: v8-internal.h:936
static const int kIsolateRootsOffset
Definition: v8-internal.h:1023
static const int kFrameTypeApiCallExit
Definition: v8-internal.h:1039
static const int kExternalPointerTableSize
Definition: v8-internal.h:943
static const int kUndefinedOddballKind
Definition: v8-internal.h:1110
static const int kMapInstanceTypeOffset
Definition: v8-internal.h:897
static constexpr Address AddressToSmi(Address value)
Definition: v8-internal.h:1149
static const int kIsolateStackGuardOffset
Definition: v8-internal.h:953
static const int kLinearAllocationAreaSize
Definition: v8-internal.h:935
static const int kFastCCallAlignmentPaddingSize
Definition: v8-internal.h:971
static const int kDisallowGarbageCollectionAlign
Definition: v8-internal.h:1045
static const int kIsolateFastCCallCallerFpOffset
Definition: v8-internal.h:977
static const int kErrorMessageParamSize
Definition: v8-internal.h:930
static const int kSegmentedTableSegmentPoolSize
Definition: v8-internal.h:942
static void CheckInitialized(v8::Isolate *isolate)
Definition: v8-internal.h:1135
static void UpdateNodeState(Address *obj, uint8_t value)
Definition: v8-internal.h:1248
static constexpr Address IntegralToSmi(T value)
Definition: v8-internal.h:1160
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:1166
static const int kJSObjectType
Definition: v8-internal.h:1101
static const int kBuiltinTier0TableOffset
Definition: v8-internal.h:962
static const int kIsolateLongTaskStatsCounterOffset
Definition: v8-internal.h:981
static const int kNativeContextEmbedderDataOffset
Definition: v8-internal.h:918
static const int kLastJSApiObjectType
Definition: v8-internal.h:1103
static constexpr bool CanHaveInternalField(int instance_type)
Definition: v8-internal.h:1220
static constexpr int kSPAlignmentSlotCount
Definition: v8-internal.h:1036
static const int kIsolateHandleScopeDataOffset
Definition: v8-internal.h:985
static const int kFirstNonstringType
Definition: v8-internal.h:1097
static const int kEmptyStringRootIndex
Definition: v8-internal.h:1090
static const int kBuiltinTier0EntryTableOffset
Definition: v8-internal.h:959
static const int kFrameTypeApiIndexedAccessorExit
Definition: v8-internal.h:1042
static const int kFixedArrayHeaderSize
Definition: v8-internal.h:910
static const int kNullOddballKind
Definition: v8-internal.h:1111
static const int kUndefinedValueRootIndex
Definition: v8-internal.h:1085
static const int kExternalTwoByteRepresentationTag
Definition: v8-internal.h:921
static constexpr Address IntToSmi(int value)
Definition: v8-internal.h:1154
static const int kDontThrow
Definition: v8-internal.h:1115
static void CheckInitializedImpl(v8::Isolate *isolate)
static void * GetEmbedderData(const v8::Isolate *isolate, uint32_t slot)
Definition: v8-internal.h:1260
static const int kStackGuardSize
Definition: v8-internal.h:928
static const int kNodeStateMask
Definition: v8-internal.h:1094
static HandleScopeData * GetHandleScopeData(v8::Isolate *isolate)
Definition: v8-internal.h:1267
static const int kNodeStateIsWeakValue
Definition: v8-internal.h:1095
static const int kFirstJSApiObjectType
Definition: v8-internal.h:1102
static const int kStringResourceOffset
Definition: v8-internal.h:898
static const int kErrorMessageParamOffset
Definition: v8-internal.h:957
static const int kExternalPointerTableBasePointerOffset
Definition: v8-internal.h:941
static const int kFalseValueRootIndex
Definition: v8-internal.h:1089
static const int kIsolateRegexpExecVectorArgumentOffset
Definition: v8-internal.h:1019
static const int kIsolateFastApiCallTargetOffset
Definition: v8-internal.h:979
static const int kTrueValueRootIndex
Definition: v8-internal.h:1088
static int GetInstanceType(Address obj)
Definition: v8-internal.h:1194
static const int kThrowOnError
Definition: v8-internal.h:1116
static Address ReadTaggedSignedField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1349
static const int kOddballKindOffset
Definition: v8-internal.h:901
static const int kBuiltinTier0TableSize
Definition: v8-internal.h:934
static const int kFrameTypeApiConstructExit
Definition: v8-internal.h:1040
static const int kContinuationPreservedEmbedderDataOffset
Definition: v8-internal.h:1021
static const int kLastYoungAllocationOffset
Definition: v8-internal.h:968
static Address ReadTaggedPointerField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1338
static const int kFrameTypeApiNamedAccessorExit
Definition: v8-internal.h:1041
static const int kNullValueRootIndex
Definition: v8-internal.h:1087
static void SetEmbedderData(v8::Isolate *isolate, uint32_t slot, void *data)
Definition: v8-internal.h:1253
static Address * GetRootSlot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1279
static const int kTrustedPointerTableSize
Definition: v8-internal.h:946
static const int kTheHoleValueRootIndex
Definition: v8-internal.h:1086
static constexpr int SmiValue(Address value)
Definition: v8-internal.h:1145
static const int kTablesAlignmentPaddingSize
Definition: v8-internal.h:931
static const int kHandleScopeDataSize
Definition: v8-internal.h:937
static const int kExternalOneByteRepresentationTag
Definition: v8-internal.h:922
static const int kBuiltinTier0EntryTableSize
Definition: v8-internal.h:933
static void UpdateNodeFlag(Address *obj, bool value, int shift)
Definition: v8-internal.h:1237
static const int kCallbackInfoDataOffset
Definition: v8-internal.h:925
static void IncrementLongTasksStatsCounter(v8::Isolate *isolate)
Definition: v8-internal.h:1273
static const int kDisallowGarbageCollectionSize
Definition: v8-internal.h:1046
static const int kOldAllocationInfoOffset
Definition: v8-internal.h:966
static const int kIsolateEmbedderDataOffset
Definition: v8-internal.h:987
static T ReadRawField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1322
static v8::Isolate * GetCurrentIsolate()
static constexpr int kFrameCPSlotCount
Definition: v8-internal.h:1029
static const int kEmbedderDataSlotExternalPointerOffset
Definition: v8-internal.h:916
static v8::Isolate * GetCurrentIsolateForSandbox()
Definition: v8-internal.h:1363
static int GetOddballKind(Address obj)
Definition: v8-internal.h:1211
static const int kNodeFlagsOffset
Definition: v8-internal.h:1093
static const int kTrustedPointerTableBasePointerOffset
Definition: v8-internal.h:949
static const int kRegExpStaticResultOffsetsVectorSize
Definition: v8-internal.h:932
static const int kLastEmbedderJSApiObjectType
Definition: v8-internal.h:1107
static const int kVariousBooleanFlagsOffset
Definition: v8-internal.h:955
static constexpr std::optional< Address > TryIntegralToSmi(T value)
Definition: v8-internal.h:1172
static const int kNodeClassIdOffset
Definition: v8-internal.h:1092
static const int kStringRepresentationAndEncodingMask
Definition: v8-internal.h:919
static const int kJSObjectHeaderSize
Definition: v8-internal.h:902
static const int kJSSpecialApiObjectType
Definition: v8-internal.h:1100
Definition: v8-internal.h:1482
constexpr bool operator==(const StrongRootAllocatorBase &) const =default
StrongRootAllocatorBase(Heap *heap)
Definition: v8-internal.h:1489
Address * allocate_impl(size_t n)
StrongRootAllocatorBase(v8::Isolate *isolate)
StrongRootAllocatorBase(LocalIsolate *isolate)
void deallocate_impl(Address *p, size_t n) noexcept
StrongRootAllocatorBase(LocalHeap *heap)
StrongRootAllocatorBase(Isolate *isolate)
Heap * heap() const
Definition: v8-internal.h:1484
Definition: v8-internal.h:1509
StrongRootAllocator(HeapOrIsolateT *)
Definition: v8-internal.h:1514
T value_type
Definition: v8-internal.h:1511
StrongRootAllocator(const StrongRootAllocator< U > &other) noexcept
Definition: v8-internal.h:1516
Definition: v8-internal.h:1687
static Address ValueAsAddress(const T *value)
Definition: v8-internal.h:1747
static T * ReprAsValue(InternalRepresentationType repr)
Definition: v8-internal.h:1763
internal::Address * InternalRepresentationType
Definition: v8-internal.h:1701
static T * SlotAsValue(S *slot)
Definition: v8-internal.h:1752
static T * HandleAsValue(const H< T, Ms... > &handle)
Definition: v8-internal.h:1715
static InternalRepresentationType ValueAsRepr(const T *value)
Definition: v8-internal.h:1757
static bool IsEmpty(T *value)
Definition: v8-internal.h:1706
static constexpr InternalRepresentationType kEmpty
Definition: v8-internal.h:1702
Definition: v8-internal.h:1552
constexpr WrappedIterator & operator-=(difference_type n) noexcept
Definition: v8-internal.h:1664
constexpr WrappedIterator operator--(int) noexcept
Definition: v8-internal.h:1641
constexpr WrappedIterator & operator+=(difference_type n) noexcept
Definition: v8-internal.h:1656
constexpr const Iterator & base() const noexcept
Definition: v8-internal.h:1678
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::value_type, ElementType > value_type
Definition: v8-internal.h:1566
constexpr WrappedIterator & operator++() noexcept
Definition: v8-internal.h:1627
constexpr pointer operator->() const noexcept
Definition: v8-internal.h:1588
constexpr reference operator[](difference_type n) const noexcept
Definition: v8-internal.h:1673
typename std::iterator_traits< Iterator >::difference_type difference_type
Definition: v8-internal.h:1562
constexpr auto operator<=>(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1604
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::reference, std::add_lvalue_reference_t< ElementType > > reference
Definition: v8-internal.h:1574
constexpr WrappedIterator & operator--() noexcept
Definition: v8-internal.h:1637
constexpr WrappedIterator() noexcept=default
constexpr WrappedIterator(const WrappedIterator< OtherIterator, OtherElementType > &other) noexcept
Definition: v8-internal.h:1583
typename std::iterator_traits< Iterator >::iterator_category iterator_category
Definition: v8-internal.h:1576
constexpr reference operator*() const noexcept
Definition: v8-internal.h:1587
constexpr auto operator-(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1668
friend constexpr WrappedIterator operator+(difference_type n, const WrappedIterator &x) noexcept
Definition: v8-internal.h:1652
constexpr WrappedIterator operator+(difference_type n) const noexcept
Definition: v8-internal.h:1646
constexpr WrappedIterator operator++(int) noexcept
Definition: v8-internal.h:1631
constexpr WrappedIterator operator-(difference_type n) const noexcept
Definition: v8-internal.h:1660
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::pointer, std::add_pointer_t< ElementType > > pointer
Definition: v8-internal.h:1570
constexpr bool operator==(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1597
Definition: v8-internal.h:1526
Definition: v8-internal.h:1523
const intptr_t kHeapObjectTagMask
Definition: v8-internal.h:61
constexpr uint64_t kCppHeapPointerMarkBit
Definition: v8-internal.h:390
constexpr int kCodePointerTableEntrySizeLog2
Definition: v8-internal.h:833
constexpr bool kRuntimeGeneratedCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:845
internal::Isolate * IsolateFromNeverReadOnlySpaceObject(Address obj)
constexpr uint64_t kExternalPointerTagShift
Definition: v8-internal.h:340
IndirectPointerHandle TrustedPointerHandle
Definition: v8-internal.h:768
const int kApiSystemPointerSize
Definition: v8-internal.h:51
constexpr bool SandboxIsEnabled()
Definition: v8-internal.h:206
const int kApiDoubleSize
Definition: v8-internal.h:52
constexpr size_t kMaxCppHeapPointers
Definition: v8-internal.h:413
constexpr intptr_t kIntptrAllBitsSet
Definition: v8-internal.h:79
constexpr int GB
Definition: v8-internal.h:43
void VerifyHandleIsNonEmpty(bool is_empty)
const int kApiInt32Size
Definition: v8-internal.h:53
const int kForwardingTagSize
Definition: v8-internal.h:68
uint32_t CppHeapPointerHandle
Definition: v8-internal.h:375
const intptr_t kForwardingTagMask
Definition: v8-internal.h:69
void PrintPropertyCallbackInfo(void *property_callback_info)
constexpr ExternalPointerTagRange kAnyManagedResourceExternalPointerTag(kFirstManagedResourceTag, kLastManagedResourceTag)
IndirectPointerHandle CodePointerHandle
Definition: v8-internal.h:806
constexpr uint64_t kExternalPointerPayloadMask
Definition: v8-internal.h:347
const int kSmiTagSize
Definition: v8-internal.h:73
const int kApiInt64Size
Definition: v8-internal.h:54
constexpr ExternalPointerTagRange kAnyExternalPointerTagRange(kFirstExternalPointerTag, kLastExternalPointerTag)
constexpr uint64_t kExternalPointerTagMask
Definition: v8-internal.h:341
constexpr int kCodePointerTableEntryCodeObjectOffset
Definition: v8-internal.h:841
constexpr int kTrustedPointerTableEntrySizeLog2
Definition: v8-internal.h:785
constexpr int kTrustedPointerTableEntrySize
Definition: v8-internal.h:784
constexpr uint64_t kCppHeapPointerPayloadShift
Definition: v8-internal.h:392
constexpr ExternalPointer_t kNullExternalPointer
Definition: v8-internal.h:367
Address ExternalPointer_t
Definition: v8-internal.h:364
uint32_t IndirectPointerHandle
Definition: v8-internal.h:748
constexpr CppHeapPointer_t kNullCppHeapPointer
Definition: v8-internal.h:387
constexpr ExternalPointerTagRange kAnySharedExternalPointerTagRange(kFirstSharedExternalPointerTag, kLastSharedExternalPointerTag)
const int kApiSizetSize
Definition: v8-internal.h:55
constexpr uint64_t kExternalPointerTagAndMarkbitMask
Definition: v8-internal.h:346
constexpr int kCodePointerTableEntryEntrypointOffset
Definition: v8-internal.h:840
constexpr size_t kMaxExternalPointers
Definition: v8-internal.h:335
constexpr size_t kCodePointerTableReservationSize
Definition: v8-internal.h:811
constexpr TrustedPointerHandle kNullTrustedPointerHandle
Definition: v8-internal.h:780
const int kWeakHeapObjectTag
Definition: v8-internal.h:59
constexpr ExternalPointerHandle kNullExternalPointerHandle
Definition: v8-internal.h:368
constexpr ExternalPointerTagRange kAnyMaybeReadOnlyExternalPointerTagRange(kFirstMaybeReadOnlyExternalPointerTag, kLastMaybeReadOnlyExternalPointerTag)
constexpr uintptr_t kUintptrAllBitsSet
Definition: v8-internal.h:80
const int kForwardingTag
Definition: v8-internal.h:67
const intptr_t kHeapObjectReferenceTagMask
Definition: v8-internal.h:62
constexpr bool SmiValuesAre31Bits()
Definition: v8-internal.h:194
constexpr size_t kMaxTrustedPointers
Definition: v8-internal.h:786
bool ShouldThrowOnError(internal::Isolate *isolate)
constexpr uint64_t kCppHeapPointerTagShift
Definition: v8-internal.h:391
constexpr ExternalPointerTagRange kAnyInterceptorInfoExternalPointerTagRange(kFirstInterceptorInfoExternalPointerTag, kLastInterceptorInfoExternalPointerTag)
constexpr int KB
Definition: v8-internal.h:41
constexpr bool kBuiltinCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:846
constexpr uint32_t kTrustedPointerHandleShift
Definition: v8-internal.h:777
constexpr uint32_t kCodePointerHandleShift
Definition: v8-internal.h:815
constexpr ExternalPointerTagRange kAnyManagedExternalPointerTagRange(kFirstManagedExternalPointerTag, kLastManagedExternalPointerTag)
const int kHeapObjectTag
Definition: v8-internal.h:58
const int kSmiShiftSize
Definition: v8-internal.h:190
constexpr size_t kMaxCodePointers
Definition: v8-internal.h:834
SmiTagging< kApiTaggedSize > PlatformSmiTagging
Definition: v8-internal.h:185
ExternalPointerTag
Definition: v8-internal.h:555
@ kLastForeignExternalPointerTag
Definition: v8-internal.h:660
@ kApiIndexedPropertyDescriptorCallbackTag
Definition: v8-internal.h:606
@ kGenericForeignTag
Definition: v8-internal.h:619
@ kFirstMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:589
@ kTemporalInstantTag
Definition: v8-internal.h:650
@ kTemporalPlainYearMonthTag
Definition: v8-internal.h:654
@ kExternalPointerEvacuationEntryTag
Definition: v8-internal.h:668
@ kFirstSharedExternalPointerTag
Definition: v8-internal.h:567
@ kApiNamedPropertyDefinerCallbackTag
Definition: v8-internal.h:600
@ kLastSharedExternalPointerTag
Definition: v8-internal.h:571
@ kD8WorkerTag
Definition: v8-internal.h:658
@ kApiIndexedPropertySetterCallbackTag
Definition: v8-internal.h:605
@ kWasmManagedDataTag
Definition: v8-internal.h:637
@ kLastExternalPointerTag
Definition: v8-internal.h:671
@ kIcuBreakIteratorTag
Definition: v8-internal.h:639
@ kLastExternalTypeTag
Definition: v8-internal.h:583
@ kMicrotaskCallbackDataTag
Definition: v8-internal.h:625
@ kWasmNativeModuleTag
Definition: v8-internal.h:638
@ kApiIndexedPropertyGetterCallbackTag
Definition: v8-internal.h:604
@ kApiNamedPropertyDescriptorCallbackTag
Definition: v8-internal.h:599
@ kAccessorInfoGetterTag
Definition: v8-internal.h:591
@ kTemporalPlainMonthDayTag
Definition: v8-internal.h:655
@ kIcuCollatorTag
Definition: v8-internal.h:648
@ kIcuSimpleDateFormatTag
Definition: v8-internal.h:643
@ kApiIndexedPropertyDefinerCallbackTag
Definition: v8-internal.h:607
@ kSyntheticModuleTag
Definition: v8-internal.h:623
@ kFirstExternalTypeTag
Definition: v8-internal.h:582
@ kD8ModuleEmbedderDataTag
Definition: v8-internal.h:659
@ kExternalStringResourceTag
Definition: v8-internal.h:569
@ kWasmFuncDataTag
Definition: v8-internal.h:636
@ kWaiterQueueForeignTag
Definition: v8-internal.h:629
@ kAccessorInfoSetterTag
Definition: v8-internal.h:592
@ kApiNamedPropertyDeleterCallbackTag
Definition: v8-internal.h:601
@ kApiAccessCheckCallbackTag
Definition: v8-internal.h:621
@ kApiAbortScriptExecutionCallbackTag
Definition: v8-internal.h:622
@ kMicrotaskCallbackTag
Definition: v8-internal.h:624
@ kIcuLocalizedNumberFormatterTag
Definition: v8-internal.h:646
@ kApiNamedPropertyGetterCallbackTag
Definition: v8-internal.h:597
@ kApiNamedPropertySetterCallbackTag
Definition: v8-internal.h:598
@ kApiIndexedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:609
@ kExternalPointerFreeEntryTag
Definition: v8-internal.h:669
@ kFirstInterceptorInfoExternalPointerTag
Definition: v8-internal.h:595
@ kCFunctionTag
Definition: v8-internal.h:626
@ kIcuUnicodeStringTag
Definition: v8-internal.h:640
@ kLastManagedExternalPointerTag
Definition: v8-internal.h:661
@ kWaiterQueueNodeTag
Definition: v8-internal.h:568
@ kGenericManagedTag
Definition: v8-internal.h:634
@ kExternalPointerNullTag
Definition: v8-internal.h:557
@ kExternalStringResourceDataTag
Definition: v8-internal.h:570
@ kTemporalZonedDateTimeTag
Definition: v8-internal.h:656
@ kWasmStackMemoryTag
Definition: v8-internal.h:615
@ kLastManagedResourceTag
Definition: v8-internal.h:665
@ kFastApiExternalTypeTag
Definition: v8-internal.h:588
@ kExternalPointerZappedEntryTag
Definition: v8-internal.h:667
@ kApiNamedPropertyQueryCallbackTag
Definition: v8-internal.h:596
@ kFirstForeignExternalPointerTag
Definition: v8-internal.h:618
@ kTemporalPlainDateTimeTag
Definition: v8-internal.h:653
@ kIcuListFormatterTag
Definition: v8-internal.h:641
@ kDisplayNamesInternalTag
Definition: v8-internal.h:657
@ kFirstManagedResourceTag
Definition: v8-internal.h:632
@ kFirstManagedExternalPointerTag
Definition: v8-internal.h:633
@ kTemporalPlainTimeTag
Definition: v8-internal.h:652
@ kIcuPluralRulesTag
Definition: v8-internal.h:647
@ kFirstEmbedderDataTag
Definition: v8-internal.h:578
@ kApiIndexedPropertyQueryCallbackTag
Definition: v8-internal.h:603
@ kIcuLocaleTag
Definition: v8-internal.h:642
@ kMessageListenerTag
Definition: v8-internal.h:628
@ kApiIndexedPropertyDeleterCallbackTag
Definition: v8-internal.h:608
@ kTemporalDurationTag
Definition: v8-internal.h:649
@ kLastInterceptorInfoExternalPointerTag
Definition: v8-internal.h:610
@ kIcuRelativeDateTimeFormatterTag
Definition: v8-internal.h:645
@ kWasmWasmStreamingTag
Definition: v8-internal.h:635
@ kNativeContextMicrotaskQueueTag
Definition: v8-internal.h:575
@ kLastMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:613
@ kLastEmbedderDataTag
Definition: v8-internal.h:579
@ kArrayBufferExtensionTag
Definition: v8-internal.h:664
@ kIcuDateIntervalFormatTag
Definition: v8-internal.h:644
@ kCFunctionInfoTag
Definition: v8-internal.h:627
@ kFirstExternalPointerTag
Definition: v8-internal.h:556
@ kApiNamedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:602
@ kFunctionTemplateInfoCallbackTag
Definition: v8-internal.h:590
@ kTemporalPlainDateTag
Definition: v8-internal.h:651
const int kSmiValueSize
Definition: v8-internal.h:191
constexpr ExternalPointerTagRange kAnyForeignExternalPointerTagRange(kFirstForeignExternalPointerTag, kLastForeignExternalPointerTag)
constexpr bool SmiValuesAre32Bits()
Definition: v8-internal.h:195
TagRange< ExternalPointerTag > ExternalPointerTagRange
Definition: v8-internal.h:674
constexpr IndirectPointerHandle kNullIndirectPointerHandle
Definition: v8-internal.h:751
uintptr_t Address
Definition: v8-internal.h:38
void PerformCastCheck(T *data)
Definition: v8-internal.h:1467
void PrintFunctionCallbackInfo(void *function_callback_info)
constexpr size_t kTrustedPointerTableReservationSize
Definition: v8-internal.h:773
uint32_t ExternalPointerHandle
Definition: v8-internal.h:356
const intptr_t kSmiTagMask
Definition: v8-internal.h:74
const int kHeapObjectTagSize
Definition: v8-internal.h:60
const int kSmiMaxValue
Definition: v8-internal.h:193
constexpr bool Is64()
Definition: v8-internal.h:196
constexpr bool kAllCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:847
const int kSmiTag
Definition: v8-internal.h:72
constexpr CodePointerHandle kNullCodePointerHandle
Definition: v8-internal.h:818
Address CppHeapPointer_t
Definition: v8-internal.h:384
constexpr CppHeapPointerHandle kNullCppHeapPointerHandle
Definition: v8-internal.h:388
constexpr int kGarbageCollectionReasonMaxValue
Definition: v8-internal.h:1478
constexpr int kCodePointerTableEntrySize
Definition: v8-internal.h:832
constexpr uint32_t kCodePointerHandleMarker
Definition: v8-internal.h:827
const int kSmiMinValue
Definition: v8-internal.h:192
constexpr int MB
Definition: v8-internal.h:42
constexpr uint64_t kExternalPointerShiftedTagMask
Definition: v8-internal.h:342
constexpr uint64_t kExternalPointerMarkBit
Definition: v8-internal.h:339
Address SandboxedPointer_t
Definition: v8-internal.h:216
const int kApiTaggedSize
Definition: v8-internal.h:175
constexpr bool PointerCompressionIsEnabled()
Definition: v8-internal.h:178
Definition: libplatform.h:15
Definition: v8-internal.h:1451
static void Perform(T *data)
Definition: v8-internal.h:863
Address * next
Definition: v8-internal.h:867
int level
Definition: v8-internal.h:869
Address * limit
Definition: v8-internal.h:868
int sealed_level
Definition: v8-internal.h:870
static constexpr uint32_t kSizeInBytes
Definition: v8-internal.h:864
void Initialize()
Definition: v8-internal.h:872
typename Iterator::iterator_concept iterator_concept
Definition: v8-internal.h:1537
Definition: v8-internal.h:1533
static constexpr bool IsValidSmi(uint64_t value)
Definition: v8-internal.h:127
static constexpr bool IsValidSmi(int64_t value)
Definition: v8-internal.h:120
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:100
static constexpr int SmiToInt(Address value)
Definition: v8-internal.h:92
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:150
static constexpr int SmiToInt(Address value)
Definition: v8-internal.h:142
Definition: v8-internal.h:77
Definition: v8-internal.h:455
constexpr size_t Size() const
Definition: v8-internal.h:477
constexpr bool IsEmpty() const
Definition: v8-internal.h:475
const Tag last
Definition: v8-internal.h:508
constexpr bool operator==(const TagRange other) const
Definition: v8-internal.h:497
constexpr bool Contains(Tag tag) const
Definition: v8-internal.h:485
const Tag first
Definition: v8-internal.h:507
constexpr TagRange()
Definition: v8-internal.h:472
constexpr TagRange(Tag tag)
Definition: v8-internal.h:468
constexpr size_t hash_value() const
Definition: v8-internal.h:501
constexpr TagRange(Tag first, Tag last)
Definition: v8-internal.h:461
constexpr bool Contains(TagRange tag_range) const
Definition: v8-internal.h:493
#define V8_EXTERNAL_POINTER_TAG_COUNT
Definition: v8-internal.h:425
#define V8_EMBEDDER_DATA_TAG_COUNT
Definition: v8-internal.h:420
#define V8_EXPORT
Definition: v8config.h:855
#define V8_INLINE
Definition: v8config.h:508
#define V8_DEPRECATE_SOON(message)
Definition: v8config.h:622
#define V8_LIKELY(condition)
Definition: v8config.h:669