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;
232#elif defined(V8_HOST_ARCH_RISCV64)
237constexpr size_t kSandboxSizeLog2 = 37;
240constexpr size_t kSandboxSizeLog2 = 40;
242constexpr size_t kSandboxSize = 1ULL << kSandboxSizeLog2;
249constexpr size_t kSandboxAlignment = kPtrComprCageBaseAlignment;
255constexpr uint64_t kSandboxedPointerShift = 64 - kSandboxSizeLog2;
267constexpr size_t kSandboxMinimumReservationSize = 8ULL *
GB;
269static_assert(kSandboxMinimumReservationSize > kPtrComprCageReservationSize,
270 "The minimum reservation size for a sandbox must be larger than "
271 "the pointer compression cage contained within it.");
277constexpr size_t kMaxSafeBufferSizeForSandbox = 32ULL *
GB - 1;
279constexpr size_t kBoundedSizeShift = 29;
280static_assert(1ULL << (64 - kBoundedSizeShift) ==
281 kMaxSafeBufferSizeForSandbox + 1,
282 "The maximum size of a BoundedSize must be synchronized with the "
283 "kMaxSafeBufferSizeForSandbox");
284constexpr size_t kBoundedSizeMask = (1ULL << (64 - kBoundedSizeShift)) - 1;
292constexpr size_t kSandboxGuardRegionSize =
293 32ULL *
GB + (kMaxSafeBufferSizeForSandbox + 1);
295static_assert((kSandboxGuardRegionSize % kSandboxAlignment) == 0,
296 "The size of the guard regions around the sandbox must be a "
297 "multiple of its required alignment.");
298static_assert(kMaxSafeBufferSizeForSandbox <= kSandboxGuardRegionSize,
299 "The maximum allowed buffer size must not be larger than the "
300 "sandbox's guard regions");
302#if defined(V8_TARGET_OS_ANDROID)
304constexpr size_t kAdditionalTrailingGuardRegionSize = 0;
308constexpr size_t kAdditionalTrailingGuardRegionSize =
309 288ULL *
GB - kSandboxGuardRegionSize;
312constexpr bool kRequiresTypedArrayAccessMasks =
313 kAdditionalTrailingGuardRegionSize == 0;
317#ifdef V8_COMPRESS_POINTERS
319#ifdef V8_TARGET_OS_ANDROID
325constexpr size_t kExternalPointerTableReservationSize = 256 *
MB;
331constexpr uint32_t kExternalPointerIndexShift = 7;
332#elif defined(V8_TARGET_OS_IOS)
337constexpr size_t kExternalPointerTableReservationSize = 128 *
MB;
338constexpr uint32_t kExternalPointerIndexShift = 8;
340constexpr size_t kExternalPointerTableReservationSize = 512 *
MB;
341constexpr uint32_t kExternalPointerIndexShift = 6;
345constexpr int kExternalPointerTableEntrySize = 8;
346constexpr int kExternalPointerTableEntrySizeLog2 = 3;
349 kExternalPointerTableReservationSize / kExternalPointerTableEntrySize;
351 "kExternalPointerTableReservationSize and "
352 "kExternalPointerIndexShift don't match");
383#ifdef V8_ENABLE_SANDBOX
403#ifdef V8_COMPRESS_POINTERS
416#ifdef V8_COMPRESS_POINTERS
420constexpr size_t kCppHeapPointerTableReservationSize =
421 kExternalPointerTableReservationSize;
422constexpr uint32_t kCppHeapPointerIndexShift = kExternalPointerIndexShift;
424constexpr int kCppHeapPointerTableEntrySize = 8;
425constexpr int kCppHeapPointerTableEntrySizeLog2 = 3;
427 kCppHeapPointerTableReservationSize / kCppHeapPointerTableEntrySize;
429 "kCppHeapPointerTableReservationSize and "
430 "kCppHeapPointerIndexShift don't match");
442#define V8_EMBEDDER_DATA_TAG_COUNT 15
447#define V8_EXTERNAL_POINTER_TAG_COUNT 40
505template <
typename Tag>
507 static_assert(std::is_enum_v<Tag> &&
508 std::is_same_v<std::underlying_type_t<Tag>, uint16_t>,
509 "Tag parameter must be an enum with base type uint16_t");
513#ifdef V8_ENABLE_CHECKS
515 if (
first >
last) __builtin_unreachable();
533 constexpr size_t Size()
const {
545 return static_cast<uint32_t
>(tag) -
static_cast<uint32_t
>(
first) <=
546 static_cast<uint32_t
>(
last) -
static_cast<uint32_t
>(
first);
558 static_assert(std::is_same_v<std::underlying_type_t<Tag>, uint16_t>);
559 return (
static_cast<size_t>(
first) << 16) |
last;
567#define SHARED_MANAGED_TAG_LIST(V) V(WasmFutexManagedObjectWaitListTag)
569#define MANAGED_TAG_LIST(V) \
570 SHARED_MANAGED_TAG_LIST(V) \
571 V(GenericManagedTag) \
572 V(WasmWasmStreamingTag) \
574 V(WasmManagedDataTag) \
575 V(WasmNativeModuleTag) \
577 V(CFunctionWithSignatureTag) \
578 V(IcuBreakIteratorTag) \
579 V(IcuListFormatterTag) \
581 V(IcuSimpleDateFormatTag) \
582 V(IcuDateIntervalFormatTag) \
583 V(IcuRelativeDateTimeFormatterTag) \
584 V(IcuLocalizedNumberFormatterTag) \
585 V(IcuPluralRulesTag) \
587 V(IcuBreakIteratorWithTextTag) \
588 V(TemporalDurationTag) \
589 V(TemporalInstantTag) \
590 V(TemporalPlainDateTag) \
591 V(TemporalPlainTimeTag) \
592 V(TemporalPlainDateTimeTag) \
593 V(TemporalPlainYearMonthTag) \
594 V(TemporalPlainMonthDayTag) \
595 V(TemporalZonedDateTimeTag) \
596 V(DisplayNamesInternalTag) \
598 V(D8ModuleEmbedderDataTag)
600#define FOREIGN_TAG_LIST(V) \
601 V(GenericForeignTag) \
602 V(ApiAccessCheckCallbackTag) \
603 V(ApiAbortScriptExecutionCallbackTag) \
604 V(SyntheticModuleTag) \
605 V(MicrotaskCallbackTag) \
606 V(MicrotaskCallbackDataTag) \
607 V(MessageListenerTag) \
608 V(WaiterQueueForeignTag) \
719#define AS_ENUM(name) k##name,
738#define ENUM_CASE(name) \
739 case ExternalPointerTag::k##name: \
746 return "Unknown tag";
752#define AS_LIST(name) ExternalPointerTag::k##name,
754#define GET_FIRST(LIST) \
756 ExternalPointerTag items[] = {LIST(AS_LIST)}; \
760#define GET_LAST(LIST) \
762 ExternalPointerTag items[] = {LIST(AS_LIST)}; \
763 return items[(sizeof(items) / sizeof(items[0])) - 1]; \
810V8_INLINE static constexpr bool IsSharedExternalPointerType(
817 return kAnySharedExternalPointerTagRange.Contains(tag_range) ||
824V8_INLINE static constexpr bool IsMaybeReadOnlyExternalPointerType(
833V8_INLINE static constexpr bool IsManagedExternalPointerType(
845V8_INLINE static constexpr bool ExternalPointerCanBeEmpty(
911 "kTrustedPointerTableReservationSize and "
912 "kTrustedPointerHandleShift don't match");
964 "kCodePointerTableReservationSize and kCodePointerHandleShift don't match");
979 "Use GetCurrentIsolate() instead, which is guaranteed to return the same "
980 "isolate since https://crrev.com/c/6458560.")
989 static constexpr uint32_t kSizeInBytes =
998 next = limit =
nullptr;
999 sealed_level = level = 0;
1011#ifdef V8_MAP_PACKING
1014 return mapword ^ kMapWordXorMask;
1028#ifdef V8_COMPRESS_POINTERS
1038#ifdef V8_ENABLE_SANDBOX
1110#ifdef V8_COMPRESS_POINTERS
1111 static const int kIsolateExternalPointerTableOffset =
1113 static const int kIsolateSharedExternalPointerTableAddressOffset =
1115 static const int kIsolateCppHeapPointerTableOffset =
1117#ifdef V8_ENABLE_SANDBOX
1118 static const int kIsolateTrustedCageBaseOffset =
1120 static const int kIsolateTrustedPointerTableOffset =
1122 static const int kIsolateSharedTrustedPointerTableAddressOffset =
1124 static const int kIsolateTrustedPointerPublishingScopeOffset =
1126 static const int kIsolateCodePointerTableBaseAddressOffset =
1151#if V8_TARGET_ARCH_PPC64
1157#if V8_TARGET_ARCH_ARM64
1173#if V8_STATIC_ROOTS_BOOL
1176#define EXPORTED_STATIC_ROOTS_PTR_LIST(V) \
1177 V(UndefinedValue, 0x11) \
1178 V(NullValue, 0x2d) \
1179 V(TrueValue, 0x71) \
1180 V(FalseValue, 0x55) \
1181 V(EmptyString, 0x49) \
1184 V(TheHoleValue, kBuildDependentTheHoleValue)
1186 using Tagged_t = uint32_t;
1187 struct StaticReadOnlyRoot {
1188#ifdef V8_ENABLE_WEBASSEMBLY
1189 static constexpr Tagged_t kBuildDependentTheHoleValue = 0x2fffd;
1191 static constexpr Tagged_t kBuildDependentTheHoleValue = 0xfffd;
1194#define DEF_ROOT(name, value) static constexpr Tagged_t k##name = value;
1195 EXPORTED_STATIC_ROOTS_PTR_LIST(DEF_ROOT)
1199 static constexpr Tagged_t kStringMapLowerBound = 0;
1200 static constexpr Tagged_t kStringMapUpperBound = 0x425;
1202#define PLUSONE(...) +1
1203 static constexpr size_t kNumberOfExportedStaticRoots =
1204 2 + EXPORTED_STATIC_ROOTS_PTR_LIST(PLUSONE);
1248#ifdef V8_MAP_PACKING
1249 static const uintptr_t kMapWordMetadataMask = 0xffffULL << 48;
1251 static const uintptr_t kMapWordSignature = 0b10;
1256 static const int kMapWordXorMask = 0b11;
1261#ifdef V8_ENABLE_CHECKS
1271 return PlatformSmiTagging::SmiToInt(value);
1283 template <
typename T,
1284 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1289 template <
typename T,
1290 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1292 return PlatformSmiTagging::IsValidSmi(value);
1295 template <
typename T,
1296 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1298 if (
V8_LIKELY(PlatformSmiTagging::IsValidSmi(value))) {
1304#if V8_STATIC_ROOTS_BOOL
1306 return static_cast<Tagged_t
>(obj) == constant;
1309 V8_INLINE static bool CheckInstanceMapRange(
Address obj, Tagged_t first_map,
1310 Tagged_t last_map) {
1312#ifdef V8_MAP_PACKING
1313 map = UnpackMapWord(map);
1315 return map >= first_map && map <= last_map;
1321#ifdef V8_MAP_PACKING
1322 map = UnpackMapWord(map);
1330#ifdef V8_MAP_PACKING
1331 map = UnpackMapWord(map);
1357 (
static_cast<unsigned>(
static_cast<unsigned>(instance_type) -
1364 return *addr &
static_cast<uint8_t
>(1U << shift);
1369 uint8_t mask =
static_cast<uint8_t
>(1U << shift);
1370 *addr =
static_cast<uint8_t
>((*addr & ~mask) | (value << shift));
1380 *addr =
static_cast<uint8_t
>((*addr & ~kNodeStateMask) | value);
1387 *
reinterpret_cast<void**
>(addr) = data;
1394 return *
reinterpret_cast<void* const*
>(addr);
1406 ++(*
reinterpret_cast<size_t*
>(addr));
1412 return reinterpret_cast<Address*
>(addr);
1416#if V8_STATIC_ROOTS_BOOL
1420#define DECOMPRESS_ROOT(name, ...) \
1421 case k##name##RootIndex: \
1422 return base + StaticReadOnlyRoot::k##name;
1423 EXPORTED_STATIC_ROOTS_PTR_LIST(DECOMPRESS_ROOT)
1424#undef DECOMPRESS_ROOT
1425#undef EXPORTED_STATIC_ROOTS_PTR_LIST
1433#ifdef V8_ENABLE_SANDBOX
1436 kIsolateExternalPointerTableOffset +
1438 return *
reinterpret_cast<Address**
>(addr);
1444 kIsolateSharedExternalPointerTableAddressOffset;
1445 addr = *
reinterpret_cast<Address*
>(addr);
1447 return *
reinterpret_cast<Address**
>(addr);
1451 template <
typename T>
1454#ifdef V8_COMPRESS_POINTERS
1461 memcpy(&r,
reinterpret_cast<void*
>(addr),
sizeof(T));
1465 return *
reinterpret_cast<const T*
>(addr);
1470#ifdef V8_COMPRESS_POINTERS
1471 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1472 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1473 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1475 return ReadRawField<Address>(heap_object_ptr, offset);
1481#ifdef V8_COMPRESS_POINTERS
1482 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1483 return static_cast<Address>(
static_cast<uintptr_t
>(value));
1485 return ReadRawField<Address>(heap_object_ptr, offset);
1494#ifdef V8_ENABLE_SANDBOX
1502 template <ExternalPo
interTagRange tag_range>
1506#ifdef V8_ENABLE_SANDBOX
1507 static_assert(!tag_range.IsEmpty());
1510 Address* table = IsSharedExternalPointerType(tag_range)
1511 ? GetSharedExternalPointerTableBase(isolate)
1512 : GetExternalPointerTableBase(isolate);
1514 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1515 uint32_t index = handle >> kExternalPointerIndexShift;
1516 std::atomic<Address>* ptr =
1517 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1518 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1521 if (
V8_LIKELY(tag_range.Contains(actual_tag))) {
1528 return ReadRawField<Address>(heap_object_ptr, offset);
1535#ifdef V8_ENABLE_SANDBOX
1538 Address* table = IsSharedExternalPointerType(tag_range)
1539 ? GetSharedExternalPointerTableBase(isolate)
1540 : GetExternalPointerTableBase(isolate);
1542 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1543 uint32_t index = handle >> kExternalPointerIndexShift;
1544 std::atomic<Address>* ptr =
1545 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1546 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1556 return ReadRawField<Address>(heap_object_ptr, offset);
1560#ifdef V8_COMPRESS_POINTERS
1562 return addr & -
static_cast<intptr_t
>(kPtrComprCageBaseAlignment);
1566 return static_cast<uint32_t
>(value);
1571 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1572 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1580template <
bool PerformCheck>
1598 CastCheck<std::is_base_of_v<Data, T> &&
1599 !std::is_same_v<Data, std::remove_cv_t<T>>>::Perform(data);
1614 Heap* heap()
const {
return heap_; }
1626 Address* allocate_impl(
size_t n);
1627 void deallocate_impl(
Address* p,
size_t n)
noexcept;
1638template <
typename T>
1643 template <
typename HeapOrIsolateT>
1645 template <
typename U>
1648 using std::allocator<T>::allocate;
1649 using std::allocator<T>::deallocate;
1652template <
typename Iterator>
1655template <
typename Iterator>
1657 requires {
typename Iterator::iterator_category; };
1662template <
typename Iterator>
1665template <HasIteratorConcept Iterator>
1667 using iterator_concept =
typename Iterator::iterator_concept;
1670template <
typename Iterator>
1674 typename std::iterator_traits<Iterator>::iterator_concept;
1681template <
typename Iterator,
typename ElementType =
void>
1685 std::is_void_v<ElementType> ||
1686 (std::is_convertible_v<typename std::iterator_traits<Iterator>::pointer,
1687 std::add_pointer_t<ElementType>> &&
1688 std::is_convertible_v<typename std::iterator_traits<Iterator>::reference,
1689 std::add_lvalue_reference_t<ElementType>>));
1692 typename std::iterator_traits<Iterator>::difference_type;
1694 std::conditional_t<std::is_void_v<ElementType>,
1695 typename std::iterator_traits<Iterator>::value_type,
1698 std::conditional_t<std::is_void_v<ElementType>,
1699 typename std::iterator_traits<Iterator>::pointer,
1700 std::add_pointer_t<ElementType>>;
1702 std::conditional_t<std::is_void_v<ElementType>,
1703 typename std::iterator_traits<Iterator>::reference,
1704 std::add_lvalue_reference_t<ElementType>>;
1706 typename std::iterator_traits<Iterator>::iterator_category;
1711 template <
typename OtherIterator,
typename OtherElementType>
1712 requires std::is_convertible_v<OtherIterator, Iterator>
1715 : it_(other.base()) {}
1719 if constexpr (std::is_pointer_v<Iterator>) {
1722 return it_.operator->();
1726 template <
typename OtherIterator,
typename OtherElementType>
1728 const WrappedIterator<OtherIterator, OtherElementType>& other)
1730 return it_ == other.base();
1733 template <
typename OtherIterator,
typename OtherElementType>
1737 if constexpr (std::three_way_comparable_with<Iterator, OtherIterator>) {
1738 return it_ <=> other.base();
1739 }
else if constexpr (std::totally_ordered_with<Iterator, OtherIterator>) {
1740 if (it_ < other.base()) {
1741 return std::strong_ordering::less;
1743 return (it_ > other.base()) ? std::strong_ordering::greater
1744 : std::strong_ordering::equal;
1746 if (it_ < other.base()) {
1747 return std::partial_ordering::less;
1749 if (other.base() < it_) {
1750 return std::partial_ordering::greater;
1752 return (it_ == other.base()) ? std::partial_ordering::equivalent
1753 : std::partial_ordering::unordered;
1797 template <
typename OtherIterator,
typename OtherElementType>
1801 return it_ - other.base();
1808 [[nodiscard]]
constexpr const Iterator&
base() const noexcept {
return it_; }
1825#ifdef V8_ENABLE_DIRECT_HANDLE
1826 static constexpr Address kTaggedNullAddress = 1;
1835 template <
typename T>
1843 template <
template <
typename T,
typename... Ms>
typename H,
typename T,
1846 return handle.template value<T>();
1849#ifdef V8_ENABLE_DIRECT_HANDLE
1851 template <
typename T>
1853 return reinterpret_cast<Address>(value);
1856 template <
typename T,
bool check_null = true,
typename S>
1858 if (check_null && slot ==
nullptr) {
1859 return reinterpret_cast<T*
>(kTaggedNullAddress);
1861 return *
reinterpret_cast<T**
>(slot);
1864 template <
typename T>
1869 template <
typename T>
1871 return reinterpret_cast<T*
>(repr);
1876 template <
typename T>
1881 template <
typename T,
bool check_null = true,
typename S>
1883 return reinterpret_cast<T*
>(slot);
1886 template <
typename T>
1892 template <
typename T>
1894 return reinterpret_cast<T*
>(repr);
1915 template <
typename T1,
typename T2>
1917 if (lhs.IsEmpty())
return rhs.IsEmpty();
1918 if (rhs.IsEmpty())
return false;
1919 return lhs.ptr() == rhs.ptr();
Definition: v8-isolate.h:291
Definition: v8-internal.h:1600
Definition: v8-internal.h:1899
static bool EqualHandles(const T1 &lhs, const T2 &rhs)
Definition: v8-internal.h:1912
static Address LoadMap(Address obj)
Definition: v8-internal.h:1323
static constexpr size_t kExternalAllocationSoftLimit
Definition: v8-internal.h:1242
static bool IsExternalTwoByteString(int instance_type)
Definition: v8-internal.h:1336
static const int kIsolateCageBaseOffset
Definition: v8-internal.h:1069
static const int kEmbedderDataArrayHeaderSize
Definition: v8-internal.h:1032
static const int kHeapObjectMapOffset
Definition: v8-internal.h:1017
static const int kEmbedderDataSlotSize
Definition: v8-internal.h:1033
static const int kIsolateApiCallbackThunkArgumentOffset
Definition: v8-internal.h:1134
static Address ReadExternalPointerField(v8::Isolate *isolate, Address heap_object_ptr, int offset)
Definition: v8-internal.h:1499
static const int kJSAPIObjectWithEmbedderSlotsHeaderSize
Definition: v8-internal.h:1028
static constexpr bool HasHeapObjectTag(Address value)
Definition: v8-internal.h:1262
static const int kOddballType
Definition: v8-internal.h:1219
static const int kInferShouldThrowMode
Definition: v8-internal.h:1238
static const int kNewAllocationInfoOffset
Definition: v8-internal.h:1081
static Address GetRoot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1411
static const int kStringEncodingMask
Definition: v8-internal.h:1041
static const int kIsolateFastCCallCallerPcOffset
Definition: v8-internal.h:1091
static uint8_t GetNodeFlag(Address *obj, int shift)
Definition: v8-internal.h:1358
static const int kIsolateThreadLocalTopOffset
Definition: v8-internal.h:1100
static const uint32_t kNumIsolateDataSlots
Definition: v8-internal.h:1048
static const int kForeignType
Definition: v8-internal.h:1220
static const int kFirstEmbedderJSApiObjectType
Definition: v8-internal.h:1227
static const int kNumberOfBooleanFlags
Definition: v8-internal.h:1050
static uint8_t GetNodeState(Address *obj)
Definition: v8-internal.h:1369
static const int kThreadLocalTopSize
Definition: v8-internal.h:1057
static const int kIsolateRootsOffset
Definition: v8-internal.h:1144
static const int kFrameTypeApiCallExit
Definition: v8-internal.h:1160
static const int kUndefinedOddballKind
Definition: v8-internal.h:1231
static const int kMapInstanceTypeOffset
Definition: v8-internal.h:1018
static constexpr Address AddressToSmi(Address value)
Definition: v8-internal.h:1270
static const int kIsolateStackGuardOffset
Definition: v8-internal.h:1070
static const int kLinearAllocationAreaSize
Definition: v8-internal.h:1056
static const int kFastCCallAlignmentPaddingSize
Definition: v8-internal.h:1088
static const int kDisallowGarbageCollectionAlign
Definition: v8-internal.h:1166
static const int kIsolateFastCCallCallerFpOffset
Definition: v8-internal.h:1094
static const int kErrorMessageParamSize
Definition: v8-internal.h:1051
static const int kSegmentedTableSegmentPoolSize
Definition: v8-internal.h:1063
static void CheckInitialized(v8::Isolate *isolate)
Definition: v8-internal.h:1256
static void UpdateNodeState(Address *obj, uint8_t value)
Definition: v8-internal.h:1374
static constexpr Address IntegralToSmi(T value)
Definition: v8-internal.h:1281
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:1287
static const int kJSObjectType
Definition: v8-internal.h:1222
static const int kExternalEntityTableBasePointerOffset
Definition: v8-internal.h:1062
static const int kBuiltinTier0TableOffset
Definition: v8-internal.h:1079
static const int kIsolateLongTaskStatsCounterOffset
Definition: v8-internal.h:1098
static const int kNativeContextEmbedderDataOffset
Definition: v8-internal.h:1039
static const int kLastJSApiObjectType
Definition: v8-internal.h:1224
static constexpr bool CanHaveInternalField(int instance_type)
Definition: v8-internal.h:1346
static constexpr int kSPAlignmentSlotCount
Definition: v8-internal.h:1157
static const int kIsolateHandleScopeDataOffset
Definition: v8-internal.h:1102
static const int kFirstNonstringType
Definition: v8-internal.h:1218
static const int kEmptyStringRootIndex
Definition: v8-internal.h:1211
static const int kBuiltinTier0EntryTableOffset
Definition: v8-internal.h:1076
static const int kFrameTypeApiIndexedAccessorExit
Definition: v8-internal.h:1163
static const int kFixedArrayHeaderSize
Definition: v8-internal.h:1031
static const int kNullOddballKind
Definition: v8-internal.h:1232
static const int kUndefinedValueRootIndex
Definition: v8-internal.h:1206
static const int kExternalTwoByteRepresentationTag
Definition: v8-internal.h:1042
static constexpr Address IntToSmi(int value)
Definition: v8-internal.h:1275
static const int kDontThrow
Definition: v8-internal.h:1236
static void CheckInitializedImpl(v8::Isolate *isolate)
static void * GetEmbedderData(const v8::Isolate *isolate, uint32_t slot)
Definition: v8-internal.h:1386
static const int kStackGuardSize
Definition: v8-internal.h:1049
static const int kNodeStateMask
Definition: v8-internal.h:1215
static HandleScopeData * GetHandleScopeData(v8::Isolate *isolate)
Definition: v8-internal.h:1393
static const int kNodeStateIsWeakValue
Definition: v8-internal.h:1216
static const int kFirstJSApiObjectType
Definition: v8-internal.h:1223
static const int kStringResourceOffset
Definition: v8-internal.h:1019
static bool IsExternalOneByteString(int instance_type)
Definition: v8-internal.h:1341
static const int kErrorMessageParamOffset
Definition: v8-internal.h:1074
static const int kCurrentMicrotaskNativeContextOffset
Definition: v8-internal.h:1142
static const int kFalseValueRootIndex
Definition: v8-internal.h:1210
static const int kIsolateRegexpExecVectorArgumentOffset
Definition: v8-internal.h:1136
static const int kIsolateFastApiCallTargetOffset
Definition: v8-internal.h:1096
static const int kTrueValueRootIndex
Definition: v8-internal.h:1209
static int GetInstanceType(Address obj)
Definition: v8-internal.h:1315
static const int kThrowOnError
Definition: v8-internal.h:1237
static Address ReadTaggedSignedField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1475
static const int kOddballKindOffset
Definition: v8-internal.h:1022
static const int kBuiltinTier0TableSize
Definition: v8-internal.h:1055
static const int kExternalEntityTableSize
Definition: v8-internal.h:1064
static const int kFrameTypeApiConstructExit
Definition: v8-internal.h:1161
static const int kContinuationPreservedEmbedderDataOffset
Definition: v8-internal.h:1138
static const int kLastYoungAllocationOffset
Definition: v8-internal.h:1085
static const int kCurrentMicrotaskQueueOffset
Definition: v8-internal.h:1140
static Address ReadTaggedPointerField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1464
static const int kFrameTypeApiNamedAccessorExit
Definition: v8-internal.h:1162
static const int kNullValueRootIndex
Definition: v8-internal.h:1208
static void SetEmbedderData(v8::Isolate *isolate, uint32_t slot, void *data)
Definition: v8-internal.h:1379
static Address * GetRootSlot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1405
static const int kIsolateJSDispatchTableOffset
Definition: v8-internal.h:1131
static const int kTheHoleValueRootIndex
Definition: v8-internal.h:1207
static constexpr int SmiValue(Address value)
Definition: v8-internal.h:1266
static const int kTablesAlignmentPaddingSize
Definition: v8-internal.h:1052
static const int kHandleScopeDataSize
Definition: v8-internal.h:1058
static const int kExternalOneByteRepresentationTag
Definition: v8-internal.h:1043
static const int kBuiltinTier0EntryTableSize
Definition: v8-internal.h:1054
static void UpdateNodeFlag(Address *obj, bool value, int shift)
Definition: v8-internal.h:1363
static const int kCallbackInfoDataOffset
Definition: v8-internal.h:1046
static void IncrementLongTasksStatsCounter(v8::Isolate *isolate)
Definition: v8-internal.h:1399
static const int kDisallowGarbageCollectionSize
Definition: v8-internal.h:1167
static const int kOldAllocationInfoOffset
Definition: v8-internal.h:1083
static const int kIsolateEmbedderDataOffset
Definition: v8-internal.h:1104
static T ReadRawField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1448
static v8::Isolate * GetCurrentIsolate()
static constexpr int kFrameCPSlotCount
Definition: v8-internal.h:1150
static const int kEmbedderDataSlotExternalPointerOffset
Definition: v8-internal.h:1037
static v8::Isolate * GetCurrentIsolateForSandbox()
Definition: v8-internal.h:1489
static int GetOddballKind(Address obj)
Definition: v8-internal.h:1332
static const int kNodeFlagsOffset
Definition: v8-internal.h:1214
static const int kRegExpStaticResultOffsetsVectorSize
Definition: v8-internal.h:1053
static const int kLastEmbedderJSApiObjectType
Definition: v8-internal.h:1228
static const int kVariousBooleanFlagsOffset
Definition: v8-internal.h:1072
static constexpr std::optional< Address > TryIntegralToSmi(T value)
Definition: v8-internal.h:1293
static const int kNodeClassIdOffset
Definition: v8-internal.h:1213
static const int kStringRepresentationAndEncodingMask
Definition: v8-internal.h:1040
static const int kJSObjectHeaderSize
Definition: v8-internal.h:1023
static const int kJSSpecialApiObjectType
Definition: v8-internal.h:1221
Definition: v8-internal.h:1608
StrongRootAllocatorBase(LocalIsolate *isolate)
Definition: v8-internal.h:1635
T value_type
Definition: v8-internal.h:1637
Definition: v8-internal.h:1813
static Address ValueAsAddress(const T *value)
Definition: v8-internal.h:1873
static T * ReprAsValue(InternalRepresentationType repr)
Definition: v8-internal.h:1889
internal::Address * InternalRepresentationType
Definition: v8-internal.h:1827
static T * SlotAsValue(S *slot)
Definition: v8-internal.h:1878
static T * HandleAsValue(const H< T, Ms... > &handle)
Definition: v8-internal.h:1841
static InternalRepresentationType ValueAsRepr(const T *value)
Definition: v8-internal.h:1883
static bool IsEmpty(T *value)
Definition: v8-internal.h:1832
static constexpr InternalRepresentationType kEmpty
Definition: v8-internal.h:1828
Definition: v8-internal.h:1678
constexpr WrappedIterator & operator-=(difference_type n) noexcept
Definition: v8-internal.h:1790
constexpr WrappedIterator operator--(int) noexcept
Definition: v8-internal.h:1767
constexpr WrappedIterator & operator+=(difference_type n) noexcept
Definition: v8-internal.h:1782
constexpr const Iterator & base() const noexcept
Definition: v8-internal.h:1804
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::value_type, ElementType > value_type
Definition: v8-internal.h:1692
constexpr WrappedIterator & operator++() noexcept
Definition: v8-internal.h:1753
constexpr pointer operator->() const noexcept
Definition: v8-internal.h:1714
constexpr reference operator[](difference_type n) const noexcept
Definition: v8-internal.h:1799
typename std::iterator_traits< Iterator >::difference_type difference_type
Definition: v8-internal.h:1688
constexpr auto operator<=>(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1730
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:1700
constexpr WrappedIterator & operator--() noexcept
Definition: v8-internal.h:1763
constexpr WrappedIterator() noexcept=default
typename std::iterator_traits< Iterator >::iterator_category iterator_category
Definition: v8-internal.h:1702
constexpr reference operator*() const noexcept
Definition: v8-internal.h:1713
friend constexpr WrappedIterator operator+(difference_type n, const WrappedIterator &x) noexcept
Definition: v8-internal.h:1778
constexpr WrappedIterator operator++(int) noexcept
Definition: v8-internal.h:1757
constexpr WrappedIterator operator-(difference_type n) const noexcept
Definition: v8-internal.h:1786
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::pointer, std::add_pointer_t< ElementType > > pointer
Definition: v8-internal.h:1696
constexpr bool operator==(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1723
Definition: v8-internal.h:1652
Definition: v8-internal.h:1649
const intptr_t kHeapObjectTagMask
Definition: v8-internal.h:61
constexpr uint64_t kCppHeapPointerMarkBit
Definition: v8-internal.h:412
constexpr int kCodePointerTableEntrySizeLog2
Definition: v8-internal.h:954
constexpr bool kRuntimeGeneratedCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:966
internal::Isolate * IsolateFromNeverReadOnlySpaceObject(Address obj)
constexpr uint64_t kExternalPointerTagShift
Definition: v8-internal.h:362
IndirectPointerHandle TrustedPointerHandle
Definition: v8-internal.h:885
const int kApiSystemPointerSize
Definition: v8-internal.h:51
constexpr const char * ToString(ExternalPointerTag tag)
Definition: v8-internal.h:734
constexpr bool SandboxIsEnabled()
Definition: v8-internal.h:206
const int kApiDoubleSize
Definition: v8-internal.h:52
constexpr size_t kMaxCppHeapPointers
Definition: v8-internal.h:435
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:397
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:927
constexpr uint64_t kExternalPointerPayloadMask
Definition: v8-internal.h:369
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:363
constexpr int kCodePointerTableEntryCodeObjectOffset
Definition: v8-internal.h:962
constexpr int kTrustedPointerTableEntrySizeLog2
Definition: v8-internal.h:902
constexpr int kTrustedPointerTableEntrySize
Definition: v8-internal.h:901
constexpr uint64_t kCppHeapPointerPayloadShift
Definition: v8-internal.h:414
constexpr ExternalPointer_t kNullExternalPointer
Definition: v8-internal.h:389
Address ExternalPointer_t
Definition: v8-internal.h:386
uint32_t IndirectPointerHandle
Definition: v8-internal.h:865
constexpr CppHeapPointer_t kNullCppHeapPointer
Definition: v8-internal.h:409
const int kApiSizetSize
Definition: v8-internal.h:55
constexpr uint64_t kExternalPointerTagAndMarkbitMask
Definition: v8-internal.h:368
constexpr size_t kMaxExternalPointers
Definition: v8-internal.h:357
constexpr ExternalPointerTagRange kAnySharedManagedExternalPointerTagRange(kFirstSharedManagedExternalPointerTag, kLastSharedManagedExternalPointerTag)
constexpr size_t kCodePointerTableReservationSize
Definition: v8-internal.h:932
constexpr TrustedPointerHandle kNullTrustedPointerHandle
Definition: v8-internal.h:897
const int kWeakHeapObjectTag
Definition: v8-internal.h:59
constexpr ExternalPointerHandle kNullExternalPointerHandle
Definition: v8-internal.h:390
constexpr ExternalPointerTagRange kAnyMaybeReadOnlyExternalPointerTagRange(kFirstMaybeReadOnlyExternalPointerTag, kLastMaybeReadOnlyExternalPointerTag)
constexpr ExternalPointerTag kFirstSharedManagedExternalPointerTag
Definition: v8-internal.h:792
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:904
bool ShouldThrowOnError(internal::Isolate *isolate)
constexpr uint64_t kCppHeapPointerTagShift
Definition: v8-internal.h:413
constexpr ExternalPointerTagRange kAnyInterceptorInfoExternalPointerTagRange(kFirstInterceptorInfoExternalPointerTag, kLastInterceptorInfoExternalPointerTag)
constexpr ExternalPointerTag kFirstManagedExternalPointerTag
Definition: v8-internal.h:775
constexpr int KB
Definition: v8-internal.h:41
constexpr bool kBuiltinCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:967
constexpr uint32_t kTrustedPointerHandleShift
Definition: v8-internal.h:894
constexpr uint32_t kCodePointerHandleShift
Definition: v8-internal.h:936
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:956
SmiTagging< kApiTaggedSize > PlatformSmiTagging
Definition: v8-internal.h:185
ExternalPointerTag
Definition: v8-internal.h:656
@ kApiIndexedPropertyDescriptorCallbackTag
Definition: v8-internal.h:707
@ kFirstMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:690
@ kExternalPointerEvacuationEntryTag
Definition: v8-internal.h:728
@ kFirstSharedExternalPointerTag
Definition: v8-internal.h:668
@ kApiNamedPropertyDefinerCallbackTag
Definition: v8-internal.h:701
@ kLastSharedExternalPointerTag
Definition: v8-internal.h:672
@ kApiIndexedPropertySetterCallbackTag
Definition: v8-internal.h:706
@ kLastExternalPointerTag
Definition: v8-internal.h:731
@ kLastExternalTypeTag
Definition: v8-internal.h:684
@ kApiIndexedPropertyGetterCallbackTag
Definition: v8-internal.h:705
@ kApiNamedPropertyDescriptorCallbackTag
Definition: v8-internal.h:700
@ kAccessorInfoGetterTag
Definition: v8-internal.h:692
@ kApiIndexedPropertyDefinerCallbackTag
Definition: v8-internal.h:708
@ kFirstExternalTypeTag
Definition: v8-internal.h:683
@ kExternalStringResourceTag
Definition: v8-internal.h:670
@ kAccessorInfoSetterTag
Definition: v8-internal.h:693
@ kApiNamedPropertyDeleterCallbackTag
Definition: v8-internal.h:702
@ kApiNamedPropertyGetterCallbackTag
Definition: v8-internal.h:698
@ kApiNamedPropertySetterCallbackTag
Definition: v8-internal.h:699
@ kApiIndexedPropertyIndexOfCallbackTag
Definition: v8-internal.h:711
@ kApiIndexedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:710
@ kExternalPointerFreeEntryTag
Definition: v8-internal.h:729
@ kFirstInterceptorInfoExternalPointerTag
Definition: v8-internal.h:696
@ kWaiterQueueNodeTag
Definition: v8-internal.h:669
@ kExternalPointerNullTag
Definition: v8-internal.h:658
@ kExternalStringResourceDataTag
Definition: v8-internal.h:671
@ kWasmStackMemoryTag
Definition: v8-internal.h:717
@ kLastManagedResourceTag
Definition: v8-internal.h:725
@ kFastApiExternalTypeTag
Definition: v8-internal.h:689
@ kExternalPointerZappedEntryTag
Definition: v8-internal.h:727
@ kApiNamedPropertyQueryCallbackTag
Definition: v8-internal.h:697
@ kFirstEmbedderDataTag
Definition: v8-internal.h:679
@ kApiIndexedPropertyQueryCallbackTag
Definition: v8-internal.h:704
@ kApiIndexedPropertyDeleterCallbackTag
Definition: v8-internal.h:709
@ kLastInterceptorInfoExternalPointerTag
Definition: v8-internal.h:712
@ kNativeContextMicrotaskQueueTag
Definition: v8-internal.h:676
@ kLastMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:715
@ kLastEmbedderDataTag
Definition: v8-internal.h:680
@ kArrayBufferExtensionTag
Definition: v8-internal.h:724
@ kFirstExternalPointerTag
Definition: v8-internal.h:657
@ kApiNamedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:703
@ kFunctionTemplateInfoCallbackTag
Definition: v8-internal.h:691
const int kSmiValueSize
Definition: v8-internal.h:191
constexpr ExternalPointerTag kLastSharedManagedExternalPointerTag
Definition: v8-internal.h:794
constexpr ExternalPointerTagRange kAnyForeignExternalPointerTagRange(kFirstForeignExternalPointerTag, kLastForeignExternalPointerTag)
constexpr bool SmiValuesAre32Bits()
Definition: v8-internal.h:195
constexpr ExternalPointerTag kLastManagedExternalPointerTag
Definition: v8-internal.h:777
TagRange< ExternalPointerTag > ExternalPointerTagRange
Definition: v8-internal.h:746
constexpr ExternalPointerTag kFirstForeignExternalPointerTag
Definition: v8-internal.h:765
constexpr IndirectPointerHandle kNullIndirectPointerHandle
Definition: v8-internal.h:868
uintptr_t Address
Definition: v8-internal.h:38
void PerformCastCheck(T *data)
Definition: v8-internal.h:1593
void PrintFunctionCallbackInfo(void *function_callback_info)
constexpr size_t kTrustedPointerTableReservationSize
Definition: v8-internal.h:890
uint32_t ExternalPointerHandle
Definition: v8-internal.h:378
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:968
const int kSmiTag
Definition: v8-internal.h:72
constexpr ExternalPointerTag kFirstManagedResourceTag
Definition: v8-internal.h:786
constexpr CodePointerHandle kNullCodePointerHandle
Definition: v8-internal.h:939
Address CppHeapPointer_t
Definition: v8-internal.h:406
constexpr CppHeapPointerHandle kNullCppHeapPointerHandle
Definition: v8-internal.h:410
constexpr int kGarbageCollectionReasonMaxValue
Definition: v8-internal.h:1604
constexpr int kCodePointerTableEntrySize
Definition: v8-internal.h:953
constexpr uint32_t kCodePointerHandleMarker
Definition: v8-internal.h:948
const int kSmiMinValue
Definition: v8-internal.h:192
constexpr int MB
Definition: v8-internal.h:42
constexpr uint64_t kExternalPointerShiftedTagMask
Definition: v8-internal.h:364
constexpr uint64_t kExternalPointerMarkBit
Definition: v8-internal.h:361
Address SandboxedPointer_t
Definition: v8-internal.h:216
const int kApiTaggedSize
Definition: v8-internal.h:175
constexpr bool PointerCompressionIsEnabled()
Definition: v8-internal.h:178
constexpr ExternalPointerTag kLastForeignExternalPointerTag
Definition: v8-internal.h:767
Definition: libplatform.h:15
Definition: v8-internal.h:1577
static void Perform(T *data)
Definition: v8-internal.h:984
static constexpr uint32_t kSizeInBytes
Definition: v8-internal.h:985
typename Iterator::iterator_concept iterator_concept
Definition: v8-internal.h:1663
Definition: v8-internal.h:1659
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:506
constexpr size_t Size() const
Definition: v8-internal.h:533
constexpr bool IsEmpty() const
Definition: v8-internal.h:531
Tag last
Definition: v8-internal.h:564
Tag first
Definition: v8-internal.h:563
constexpr bool operator==(const TagRange other) const
Definition: v8-internal.h:553
constexpr bool Contains(Tag tag) const
Definition: v8-internal.h:541
constexpr TagRange()
Definition: v8-internal.h:528
constexpr TagRange(Tag tag)
Definition: v8-internal.h:524
constexpr size_t hash_value() const
Definition: v8-internal.h:557
constexpr TagRange(Tag first, Tag last)
Definition: v8-internal.h:512
constexpr bool Contains(TagRange tag_range) const
Definition: v8-internal.h:549
#define FOREIGN_TAG_LIST(V)
Definition: v8-internal.h:600
#define AS_ENUM(name)
Definition: v8-internal.h:719
#define V8_EXTERNAL_POINTER_TAG_COUNT
Definition: v8-internal.h:447
#define MANAGED_TAG_LIST(V)
Definition: v8-internal.h:569
#define SHARED_MANAGED_TAG_LIST(V)
Definition: v8-internal.h:567
#define GET_FIRST(LIST)
Definition: v8-internal.h:750
#define V8_EMBEDDER_DATA_TAG_COUNT
Definition: v8-internal.h:442
#define GET_LAST(LIST)
Definition: v8-internal.h:756
#define V8_EXPORT
Definition: v8config.h:854
#define V8_INLINE
Definition: v8config.h:508
#define V8_DEPRECATE_SOON(message)
Definition: v8config.h:621
#define V8_LIKELY(condition)
Definition: v8config.h:668