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;
238#elif defined(V8_TARGET_ARCH_LOONG64)
241constexpr size_t kSandboxSizeLog2 = 37;
244constexpr size_t kSandboxSizeLog2 = 40;
246constexpr size_t kSandboxSize = 1ULL << kSandboxSizeLog2;
253constexpr size_t kSandboxAlignment = kPtrComprCageBaseAlignment;
259constexpr uint64_t kSandboxedPointerShift = 64 - kSandboxSizeLog2;
271constexpr size_t kSandboxMinimumReservationSize = 8ULL *
GB;
273static_assert(kSandboxMinimumReservationSize > kPtrComprCageReservationSize,
274 "The minimum reservation size for a sandbox must be larger than "
275 "the pointer compression cage contained within it.");
281constexpr size_t kMaxSafeBufferSizeForSandbox = 32ULL *
GB - 1;
283constexpr size_t kBoundedSizeShift = 29;
284static_assert(1ULL << (64 - kBoundedSizeShift) ==
285 kMaxSafeBufferSizeForSandbox + 1,
286 "The maximum size of a BoundedSize must be synchronized with the "
287 "kMaxSafeBufferSizeForSandbox");
288constexpr size_t kBoundedSizeMask = (1ULL << (64 - kBoundedSizeShift)) - 1;
296constexpr size_t kSandboxGuardRegionSize =
297 32ULL *
GB + (kMaxSafeBufferSizeForSandbox + 1);
299static_assert((kSandboxGuardRegionSize % kSandboxAlignment) == 0,
300 "The size of the guard regions around the sandbox must be a "
301 "multiple of its required alignment.");
302static_assert(kMaxSafeBufferSizeForSandbox <= kSandboxGuardRegionSize,
303 "The maximum allowed buffer size must not be larger than the "
304 "sandbox's guard regions");
306#if defined(V8_TARGET_OS_ANDROID)
308constexpr size_t kAdditionalTrailingGuardRegionSize = 0;
309#elif defined(V8_TARGET_ARCH_LOONG64)
312constexpr size_t kAdditionalTrailingGuardRegionSize = 0;
316constexpr size_t kAdditionalTrailingGuardRegionSize =
317 288ULL *
GB - kSandboxGuardRegionSize;
320constexpr bool kRequiresTypedArrayAccessMasks =
321 kAdditionalTrailingGuardRegionSize == 0;
325#ifdef V8_COMPRESS_POINTERS
327#ifdef V8_TARGET_OS_ANDROID
333constexpr size_t kExternalPointerTableReservationSize = 256 *
MB;
339constexpr uint32_t kExternalPointerIndexShift = 7;
340#elif defined(V8_TARGET_OS_IOS)
345constexpr size_t kExternalPointerTableReservationSize = 128 *
MB;
346constexpr uint32_t kExternalPointerIndexShift = 8;
348constexpr size_t kExternalPointerTableReservationSize = 512 *
MB;
349constexpr uint32_t kExternalPointerIndexShift = 6;
353constexpr int kExternalPointerTableEntrySize = 8;
354constexpr int kExternalPointerTableEntrySizeLog2 = 3;
357 kExternalPointerTableReservationSize / kExternalPointerTableEntrySize;
359 "kExternalPointerTableReservationSize and "
360 "kExternalPointerIndexShift don't match");
391#ifdef V8_ENABLE_SANDBOX
411#ifdef V8_COMPRESS_POINTERS
427#ifdef V8_COMPRESS_POINTERS
431constexpr size_t kCppHeapPointerTableReservationSize =
432 kExternalPointerTableReservationSize;
433constexpr uint32_t kCppHeapPointerIndexShift = kExternalPointerIndexShift;
435constexpr int kCppHeapPointerTableEntrySize = 8;
436constexpr int kCppHeapPointerTableEntrySizeLog2 = 3;
438 kCppHeapPointerTableReservationSize / kCppHeapPointerTableEntrySize;
440 "kCppHeapPointerTableReservationSize and "
441 "kCppHeapPointerIndexShift don't match");
453#define V8_EMBEDDER_DATA_TAG_COUNT 15
458#define V8_EXTERNAL_POINTER_TAG_COUNT 40
516template <
typename Tag>
518 static_assert(std::is_enum_v<Tag> &&
519 std::is_same_v<std::underlying_type_t<Tag>, uint16_t>,
520 "Tag parameter must be an enum with base type uint16_t");
524#ifdef V8_ENABLE_CHECKS
526 if (
first >
last) __builtin_unreachable();
544 constexpr size_t Size()
const {
556 return static_cast<uint32_t
>(tag) -
static_cast<uint32_t
>(
first) <=
557 static_cast<uint32_t
>(
last) -
static_cast<uint32_t
>(
first);
569 static_assert(std::is_same_v<std::underlying_type_t<Tag>, uint16_t>);
570 return (
static_cast<size_t>(
first) << 16) |
last;
578#define SHARED_MANAGED_TAG_LIST(V) V(WasmFutexManagedObjectWaitListTag)
580#define MANAGED_TAG_LIST(V) \
581 SHARED_MANAGED_TAG_LIST(V) \
582 V(GenericManagedTag) \
583 V(WasmWasmStreamingTag) \
585 V(WasmManagedDataTag) \
586 V(WasmNativeModuleTag) \
588 V(IcuBreakIteratorTag) \
589 V(IcuListFormatterTag) \
591 V(IcuSimpleDateFormatTag) \
592 V(IcuDateIntervalFormatTag) \
593 V(IcuRelativeDateTimeFormatterTag) \
594 V(IcuLocalizedNumberFormatterTag) \
595 V(IcuPluralRulesTag) \
597 V(IcuBreakIteratorWithTextTag) \
598 V(TemporalDurationTag) \
599 V(TemporalInstantTag) \
600 V(TemporalPlainDateTag) \
601 V(TemporalPlainTimeTag) \
602 V(TemporalPlainDateTimeTag) \
603 V(TemporalPlainYearMonthTag) \
604 V(TemporalPlainMonthDayTag) \
605 V(TemporalZonedDateTimeTag) \
606 V(DisplayNamesInternalTag) \
608 V(D8ModuleEmbedderDataTag)
610#define FOREIGN_TAG_LIST(V) \
611 V(GenericForeignTag) \
612 V(ApiAccessCheckCallbackTag) \
613 V(ApiAbortScriptExecutionCallbackTag) \
614 V(ApiTemporalHostSystemUTCEpochNanosecondsCallbackTag) \
616 V(SyntheticModuleTag) \
617 V(MicrotaskCallbackTag) \
618 V(MicrotaskCallbackDataTag) \
619 V(MessageListenerTag) \
620 V(WaiterQueueForeignTag) \
732#define AS_ENUM(name) k##name,
751#define ENUM_CASE(name) \
752 case ExternalPointerTag::k##name: \
759 return "Unknown tag";
765#define AS_LIST(name) ExternalPointerTag::k##name,
767#define GET_FIRST(LIST) \
769 ExternalPointerTag items[] = {LIST(AS_LIST)}; \
773#define GET_LAST(LIST) \
775 ExternalPointerTag items[] = {LIST(AS_LIST)}; \
776 return items[(sizeof(items) / sizeof(items[0])) - 1]; \
823V8_INLINE static constexpr bool IsSharedExternalPointerType(
830 return kAnySharedExternalPointerTagRange.Contains(tag_range) ||
837V8_INLINE static constexpr bool IsMaybeReadOnlyExternalPointerType(
846V8_INLINE static constexpr bool IsManagedExternalPointerType(
858V8_INLINE static constexpr bool ExternalPointerCanBeEmpty(
924 "kTrustedPointerTableReservationSize and "
925 "kTrustedPointerHandleShift don't match");
943 "Use GetCurrentIsolate() instead, which is guaranteed to return the same "
944 "isolate since https://crrev.com/c/6458560.")
953 static constexpr uint32_t kSizeInBytes =
962 next = limit =
nullptr;
963 sealed_level = level = 0;
978 return mapword ^ kMapWordXorMask;
992#ifdef V8_COMPRESS_POINTERS
1002#ifdef V8_ENABLE_SANDBOX
1079#ifdef V8_COMPRESS_POINTERS
1080 static const int kIsolateExternalPointerTableOffset =
1082 static const int kIsolateSharedExternalPointerTableAddressOffset =
1084 static const int kIsolateCppHeapPointerTableOffset =
1086#ifdef V8_ENABLE_SANDBOX
1087 static const int kIsolateTrustedCageBaseOffset =
1089 static const int kIsolateTrustedPointerTableOffset =
1091 static const int kIsolateSharedTrustedPointerTableAddressOffset =
1093 static const int kIsolateTrustedPointerPublishingScopeOffset =
1118#if V8_TARGET_ARCH_PPC64
1124#if V8_TARGET_ARCH_ARM64
1140#if V8_STATIC_ROOTS_BOOL
1143#define EXPORTED_STATIC_ROOTS_PTR_LIST(V) \
1144 V(UndefinedValue, 0x11) \
1145 V(NullValue, 0x2d) \
1146 V(TrueValue, 0x71) \
1147 V(FalseValue, 0x55) \
1148 V(EmptyString, 0x49) \
1151 V(TheHoleValue, kBuildDependentTheHoleValue)
1153 using Tagged_t = uint32_t;
1154 struct StaticReadOnlyRoot {
1155#ifdef V8_ENABLE_WEBASSEMBLY
1156 static constexpr Tagged_t kBuildDependentTheHoleValue = 0x2fffd;
1158 static constexpr Tagged_t kBuildDependentTheHoleValue = 0xfffd;
1161#define DEF_ROOT(name, value) static constexpr Tagged_t k##name = value;
1162 EXPORTED_STATIC_ROOTS_PTR_LIST(DEF_ROOT)
1166 static constexpr Tagged_t kStringMapLowerBound = 0;
1167 static constexpr Tagged_t kStringMapUpperBound = 0x425;
1169#define PLUSONE(...) +1
1170 static constexpr size_t kNumberOfExportedStaticRoots =
1171 2 + EXPORTED_STATIC_ROOTS_PTR_LIST(PLUSONE);
1215#ifdef V8_MAP_PACKING
1216 static const uintptr_t kMapWordMetadataMask = 0xffffULL << 48;
1218 static const uintptr_t kMapWordSignature = 0b10;
1223 static const int kMapWordXorMask = 0b11;
1228#ifdef V8_ENABLE_CHECKS
1238 return PlatformSmiTagging::SmiToInt(value);
1250 template <
typename T,
1251 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1256 template <
typename T,
1257 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1259 return PlatformSmiTagging::IsValidSmi(value);
1262 template <
typename T,
1263 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1265 if (
V8_LIKELY(PlatformSmiTagging::IsValidSmi(value))) {
1271#if V8_STATIC_ROOTS_BOOL
1273 return static_cast<Tagged_t
>(obj) == constant;
1276 V8_INLINE static bool CheckInstanceMapRange(
Address obj, Tagged_t first_map,
1277 Tagged_t last_map) {
1279#ifdef V8_MAP_PACKING
1280 map = UnpackMapWord(map);
1282 return map >= first_map && map <= last_map;
1288#ifdef V8_MAP_PACKING
1289 map = UnpackMapWord(map);
1297#ifdef V8_MAP_PACKING
1298 map = UnpackMapWord(map);
1324 (
static_cast<unsigned>(
static_cast<unsigned>(instance_type) -
1331 return *addr &
static_cast<uint8_t
>(1U << shift);
1336 uint8_t mask =
static_cast<uint8_t
>(1U << shift);
1337 *addr =
static_cast<uint8_t
>((*addr & ~mask) | (value << shift));
1347 *addr =
static_cast<uint8_t
>((*addr & ~kNodeStateMask) | value);
1354 *
reinterpret_cast<void**
>(addr) = data;
1361 return *
reinterpret_cast<void* const*
>(addr);
1373 ++(*
reinterpret_cast<size_t*
>(addr));
1379 return reinterpret_cast<Address*
>(addr);
1383#if V8_STATIC_ROOTS_BOOL
1387#define DECOMPRESS_ROOT(name, ...) \
1388 case k##name##RootIndex: \
1389 return base + StaticReadOnlyRoot::k##name;
1390 EXPORTED_STATIC_ROOTS_PTR_LIST(DECOMPRESS_ROOT)
1391#undef DECOMPRESS_ROOT
1392#undef EXPORTED_STATIC_ROOTS_PTR_LIST
1400#ifdef V8_ENABLE_SANDBOX
1403 kIsolateExternalPointerTableOffset +
1405 return *
reinterpret_cast<Address**
>(addr);
1411 kIsolateSharedExternalPointerTableAddressOffset;
1412 addr = *
reinterpret_cast<Address*
>(addr);
1414 return *
reinterpret_cast<Address**
>(addr);
1418 template <
typename T>
1421#ifdef V8_COMPRESS_POINTERS
1428 memcpy(&r,
reinterpret_cast<void*
>(addr),
sizeof(T));
1432 return *
reinterpret_cast<const T*
>(addr);
1437#ifdef V8_COMPRESS_POINTERS
1438 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1439 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1440 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1442 return ReadRawField<Address>(heap_object_ptr, offset);
1448#ifdef V8_COMPRESS_POINTERS
1449 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1450 return static_cast<Address>(
static_cast<uintptr_t
>(value));
1452 return ReadRawField<Address>(heap_object_ptr, offset);
1461#ifdef V8_ENABLE_SANDBOX
1469 template <ExternalPo
interTagRange tag_range>
1473#ifdef V8_ENABLE_SANDBOX
1474 static_assert(!tag_range.IsEmpty());
1477 Address* table = IsSharedExternalPointerType(tag_range)
1478 ? GetSharedExternalPointerTableBase(isolate)
1479 : GetExternalPointerTableBase(isolate);
1481 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1482 uint32_t index = handle >> kExternalPointerIndexShift;
1483 std::atomic<Address>* ptr =
1484 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1485 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1489 if (
V8_LIKELY(tag_range.Contains(actual_tag))) {
1496 return ReadRawField<Address>(heap_object_ptr, offset);
1503#ifdef V8_ENABLE_SANDBOX
1506 Address* table = IsSharedExternalPointerType(tag_range)
1507 ? GetSharedExternalPointerTableBase(isolate)
1508 : GetExternalPointerTableBase(isolate);
1510 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1511 uint32_t index = handle >> kExternalPointerIndexShift;
1512 std::atomic<Address>* ptr =
1513 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1514 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1526 return ReadRawField<Address>(heap_object_ptr, offset);
1530#ifdef V8_COMPRESS_POINTERS
1532 return addr & -
static_cast<intptr_t
>(kPtrComprCageBaseAlignment);
1536 return static_cast<uint32_t
>(value);
1541 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1542 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1550template <
bool PerformCheck>
1568 CastCheck<std::is_base_of_v<Data, T> &&
1569 !std::is_same_v<Data, std::remove_cv_t<T>>>::Perform(data);
1584 Heap* heap()
const {
return heap_; }
1596 Address* allocate_impl(
size_t n);
1597 void deallocate_impl(
Address* p,
size_t n)
noexcept;
1608template <
typename T>
1613 template <
typename HeapOrIsolateT>
1615 template <
typename U>
1618 using std::allocator<T>::allocate;
1619 using std::allocator<T>::deallocate;
1622template <
typename Iterator>
1625template <
typename Iterator>
1627 requires {
typename Iterator::iterator_category; };
1632template <
typename Iterator>
1635template <HasIteratorConcept Iterator>
1637 using iterator_concept =
typename Iterator::iterator_concept;
1640template <
typename Iterator>
1644 typename std::iterator_traits<Iterator>::iterator_concept;
1647template <
typename T>
1649 using iterator_concept = std::contiguous_iterator_tag;
1656template <
typename Iterator,
typename ElementType =
void>
1660 std::is_void_v<ElementType> ||
1661 (std::is_convertible_v<typename std::iterator_traits<Iterator>::pointer,
1662 std::add_pointer_t<ElementType>> &&
1663 std::is_convertible_v<typename std::iterator_traits<Iterator>::reference,
1664 std::add_lvalue_reference_t<ElementType>>));
1667 typename std::iterator_traits<Iterator>::difference_type;
1669 std::conditional_t<std::is_void_v<ElementType>,
1670 typename std::iterator_traits<Iterator>::value_type,
1673 std::conditional_t<std::is_void_v<ElementType>,
1674 typename std::iterator_traits<Iterator>::pointer,
1675 std::add_pointer_t<ElementType>>;
1677 std::conditional_t<std::is_void_v<ElementType>,
1678 typename std::iterator_traits<Iterator>::reference,
1679 std::add_lvalue_reference_t<ElementType>>;
1681 typename std::iterator_traits<Iterator>::iterator_category;
1686 template <
typename OtherIterator,
typename OtherElementType>
1687 requires std::is_convertible_v<OtherIterator, Iterator>
1690 : it_(other.base()) {}
1694 if constexpr (std::is_pointer_v<Iterator>) {
1697 return it_.operator->();
1701 template <
typename OtherIterator,
typename OtherElementType>
1703 const WrappedIterator<OtherIterator, OtherElementType>& other)
1705 return it_ == other.base();
1708 template <
typename OtherIterator,
typename OtherElementType>
1712 if constexpr (std::three_way_comparable_with<Iterator, OtherIterator>) {
1713 return it_ <=> other.base();
1714 }
else if constexpr (std::totally_ordered_with<Iterator, OtherIterator>) {
1715 if (it_ < other.base()) {
1716 return std::strong_ordering::less;
1718 return (it_ > other.base()) ? std::strong_ordering::greater
1719 : std::strong_ordering::equal;
1721 if (it_ < other.base()) {
1722 return std::partial_ordering::less;
1724 if (other.base() < it_) {
1725 return std::partial_ordering::greater;
1727 return (it_ == other.base()) ? std::partial_ordering::equivalent
1728 : std::partial_ordering::unordered;
1772 template <
typename OtherIterator,
typename OtherElementType>
1776 return it_ - other.base();
1783 [[nodiscard]]
constexpr const Iterator&
base() const noexcept {
return it_; }
1800#ifdef V8_ENABLE_DIRECT_HANDLE
1801 static constexpr Address kTaggedNullAddress = 1;
1810 template <
typename T>
1818 template <
template <
typename T,
typename... Ms>
typename H,
typename T,
1821 return handle.template value<T>();
1824#ifdef V8_ENABLE_DIRECT_HANDLE
1826 template <
typename T>
1828 return reinterpret_cast<Address>(value);
1831 template <
typename T,
bool check_null = true,
typename S>
1833 if (check_null && slot ==
nullptr) {
1834 return reinterpret_cast<T*
>(kTaggedNullAddress);
1836 return *
reinterpret_cast<T**
>(slot);
1839 template <
typename T>
1844 template <
typename T>
1846 return reinterpret_cast<T*
>(repr);
1851 template <
typename T>
1856 template <
typename T,
bool check_null = true,
typename S>
1858 return reinterpret_cast<T*
>(slot);
1861 template <
typename T>
1867 template <
typename T>
1869 return reinterpret_cast<T*
>(repr);
1890 template <
typename T1,
typename T2>
1892 if (lhs.IsEmpty())
return rhs.IsEmpty();
1893 if (rhs.IsEmpty())
return false;
1894 return lhs.ptr() == rhs.ptr();
Definition: v8-isolate.h:292
Definition: v8-internal.h:1570
Definition: v8-internal.h:1874
static bool EqualHandles(const T1 &lhs, const T2 &rhs)
Definition: v8-internal.h:1887
static Address LoadMap(Address obj)
Definition: v8-internal.h:1290
static constexpr size_t kExternalAllocationSoftLimit
Definition: v8-internal.h:1209
static bool IsExternalTwoByteString(int instance_type)
Definition: v8-internal.h:1303
static const int kIsolateCageBaseOffset
Definition: v8-internal.h:1036
static const int kEmbedderDataArrayHeaderSize
Definition: v8-internal.h:996
static const int kHeapObjectMapOffset
Definition: v8-internal.h:981
static const int kEmbedderDataSlotSize
Definition: v8-internal.h:997
static const int kIsolateApiCallbackThunkArgumentOffset
Definition: v8-internal.h:1101
static Address ReadExternalPointerField(v8::Isolate *isolate, Address heap_object_ptr, int offset)
Definition: v8-internal.h:1466
static const int kJSAPIObjectWithEmbedderSlotsHeaderSize
Definition: v8-internal.h:992
static constexpr bool HasHeapObjectTag(Address value)
Definition: v8-internal.h:1229
static const int kIsolateHandleScopeImplementerOffset
Definition: v8-internal.h:1071
static const int kOddballType
Definition: v8-internal.h:1186
static const int kInferShouldThrowMode
Definition: v8-internal.h:1205
static const int kNewAllocationInfoOffset
Definition: v8-internal.h:1048
static Address GetRoot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1378
static const int kStringEncodingMask
Definition: v8-internal.h:1005
static const int kIsolateFastCCallCallerPcOffset
Definition: v8-internal.h:1058
static uint8_t GetNodeFlag(Address *obj, int shift)
Definition: v8-internal.h:1325
static const int kIsolateThreadLocalTopOffset
Definition: v8-internal.h:1067
static const uint32_t kNumIsolateDataSlots
Definition: v8-internal.h:1012
static const int kForeignType
Definition: v8-internal.h:1187
static const int kFirstEmbedderJSApiObjectType
Definition: v8-internal.h:1194
static const int kNumberOfBooleanFlags
Definition: v8-internal.h:1014
static uint8_t GetNodeState(Address *obj)
Definition: v8-internal.h:1336
static const int kThreadLocalTopSize
Definition: v8-internal.h:1021
static const int kIsolateRootsOffset
Definition: v8-internal.h:1111
static const int kFrameTypeApiCallExit
Definition: v8-internal.h:1127
static const int kUndefinedOddballKind
Definition: v8-internal.h:1198
static const int kMapInstanceTypeOffset
Definition: v8-internal.h:982
static constexpr Address AddressToSmi(Address value)
Definition: v8-internal.h:1237
static const int kIsolateStackGuardOffset
Definition: v8-internal.h:1037
static const int kLinearAllocationAreaSize
Definition: v8-internal.h:1020
static const int kFastCCallAlignmentPaddingSize
Definition: v8-internal.h:1055
static const int kDisallowGarbageCollectionAlign
Definition: v8-internal.h:1133
static const int kIsolateFastCCallCallerFpOffset
Definition: v8-internal.h:1061
static const int kErrorMessageParamSize
Definition: v8-internal.h:1015
static const int kSegmentedTableSegmentPoolSize
Definition: v8-internal.h:1030
static void CheckInitialized(v8::Isolate *isolate)
Definition: v8-internal.h:1223
static void UpdateNodeState(Address *obj, uint8_t value)
Definition: v8-internal.h:1341
static constexpr Address IntegralToSmi(T value)
Definition: v8-internal.h:1248
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:1254
static const int kJSObjectType
Definition: v8-internal.h:1189
static const int kExternalEntityTableBasePointerOffset
Definition: v8-internal.h:1029
static const int kBuiltinTier0TableOffset
Definition: v8-internal.h:1046
static const int kIsolateLongTaskStatsCounterOffset
Definition: v8-internal.h:1065
static const int kNativeContextEmbedderDataOffset
Definition: v8-internal.h:1003
static const int kLastJSApiObjectType
Definition: v8-internal.h:1191
static constexpr bool CanHaveInternalField(int instance_type)
Definition: v8-internal.h:1313
static constexpr int kSPAlignmentSlotCount
Definition: v8-internal.h:1124
static const int kIsolateHandleScopeDataOffset
Definition: v8-internal.h:1069
static const int kFirstNonstringType
Definition: v8-internal.h:1185
static const int kEmptyStringRootIndex
Definition: v8-internal.h:1178
static const int kBuiltinTier0EntryTableOffset
Definition: v8-internal.h:1043
static const int kFrameTypeApiIndexedAccessorExit
Definition: v8-internal.h:1130
static const int kFixedArrayHeaderSize
Definition: v8-internal.h:995
static const int kNullOddballKind
Definition: v8-internal.h:1199
static const int kUndefinedValueRootIndex
Definition: v8-internal.h:1173
static const int kExternalTwoByteRepresentationTag
Definition: v8-internal.h:1006
static constexpr Address IntToSmi(int value)
Definition: v8-internal.h:1242
static const int kDontThrow
Definition: v8-internal.h:1203
static void CheckInitializedImpl(v8::Isolate *isolate)
static void * GetEmbedderData(const v8::Isolate *isolate, uint32_t slot)
Definition: v8-internal.h:1353
static const int kStackGuardSize
Definition: v8-internal.h:1013
static const int kNodeStateMask
Definition: v8-internal.h:1182
static HandleScopeData * GetHandleScopeData(v8::Isolate *isolate)
Definition: v8-internal.h:1360
static const int kNodeStateIsWeakValue
Definition: v8-internal.h:1183
static const int kFirstJSApiObjectType
Definition: v8-internal.h:1190
static const int kStringResourceOffset
Definition: v8-internal.h:983
static bool IsExternalOneByteString(int instance_type)
Definition: v8-internal.h:1308
static const int kErrorMessageParamOffset
Definition: v8-internal.h:1041
static const int kCurrentMicrotaskNativeContextOffset
Definition: v8-internal.h:1109
static const int kFalseValueRootIndex
Definition: v8-internal.h:1177
static const int kIsolateRegexpExecVectorArgumentOffset
Definition: v8-internal.h:1103
static const int kIsolateFastApiCallTargetOffset
Definition: v8-internal.h:1063
static const int kTrueValueRootIndex
Definition: v8-internal.h:1176
static int GetInstanceType(Address obj)
Definition: v8-internal.h:1282
static const int kThrowOnError
Definition: v8-internal.h:1204
static Address ReadTaggedSignedField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1442
static const int kOddballKindOffset
Definition: v8-internal.h:986
static const int kBuiltinTier0TableSize
Definition: v8-internal.h:1019
static const int kExternalEntityTableSize
Definition: v8-internal.h:1031
static const int kFrameTypeApiConstructExit
Definition: v8-internal.h:1128
static const int kContinuationPreservedEmbedderDataOffset
Definition: v8-internal.h:1105
static const int kHandleScopeImplementerSize
Definition: v8-internal.h:1024
static const int kLastYoungAllocationOffset
Definition: v8-internal.h:1052
static const int kCurrentMicrotaskQueueOffset
Definition: v8-internal.h:1107
static Address ReadTaggedPointerField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1431
static const int kFrameTypeApiNamedAccessorExit
Definition: v8-internal.h:1129
static const int kNullValueRootIndex
Definition: v8-internal.h:1175
static void SetEmbedderData(v8::Isolate *isolate, uint32_t slot, void *data)
Definition: v8-internal.h:1346
static Address * GetRootSlot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1372
static const int kIsolateJSDispatchTableOffset
Definition: v8-internal.h:1098
static const int kTheHoleValueRootIndex
Definition: v8-internal.h:1174
static constexpr int SmiValue(Address value)
Definition: v8-internal.h:1233
static const int kTablesAlignmentPaddingSize
Definition: v8-internal.h:1016
static const int kHandleScopeDataSize
Definition: v8-internal.h:1022
static const int kExternalOneByteRepresentationTag
Definition: v8-internal.h:1007
static const int kBuiltinTier0EntryTableSize
Definition: v8-internal.h:1018
static void UpdateNodeFlag(Address *obj, bool value, int shift)
Definition: v8-internal.h:1330
static const int kCallbackInfoDataOffset
Definition: v8-internal.h:1010
static void IncrementLongTasksStatsCounter(v8::Isolate *isolate)
Definition: v8-internal.h:1366
static const int kDisallowGarbageCollectionSize
Definition: v8-internal.h:1134
static const int kOldAllocationInfoOffset
Definition: v8-internal.h:1050
static const int kIsolateEmbedderDataOffset
Definition: v8-internal.h:1073
static T ReadRawField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1415
static v8::Isolate * GetCurrentIsolate()
static constexpr int kFrameCPSlotCount
Definition: v8-internal.h:1117
static const int kEmbedderDataSlotExternalPointerOffset
Definition: v8-internal.h:1001
static v8::Isolate * GetCurrentIsolateForSandbox()
Definition: v8-internal.h:1456
static int GetOddballKind(Address obj)
Definition: v8-internal.h:1299
static const int kNodeFlagsOffset
Definition: v8-internal.h:1181
static const int kRegExpStaticResultOffsetsVectorSize
Definition: v8-internal.h:1017
static const int kLastEmbedderJSApiObjectType
Definition: v8-internal.h:1195
static const int kVariousBooleanFlagsOffset
Definition: v8-internal.h:1039
static constexpr std::optional< Address > TryIntegralToSmi(T value)
Definition: v8-internal.h:1260
static const int kNodeClassIdOffset
Definition: v8-internal.h:1180
static const int kStringRepresentationAndEncodingMask
Definition: v8-internal.h:1004
static const int kJSObjectHeaderSize
Definition: v8-internal.h:987
static const int kJSSpecialApiObjectType
Definition: v8-internal.h:1188
Definition: v8-internal.h:1578
StrongRootAllocatorBase(LocalIsolate *isolate)
Definition: v8-internal.h:1605
T value_type
Definition: v8-internal.h:1607
Definition: v8-internal.h:1788
static Address ValueAsAddress(const T *value)
Definition: v8-internal.h:1848
static T * ReprAsValue(InternalRepresentationType repr)
Definition: v8-internal.h:1864
internal::Address * InternalRepresentationType
Definition: v8-internal.h:1802
static T * SlotAsValue(S *slot)
Definition: v8-internal.h:1853
static T * HandleAsValue(const H< T, Ms... > &handle)
Definition: v8-internal.h:1816
static InternalRepresentationType ValueAsRepr(const T *value)
Definition: v8-internal.h:1858
static bool IsEmpty(T *value)
Definition: v8-internal.h:1807
static constexpr InternalRepresentationType kEmpty
Definition: v8-internal.h:1803
Definition: v8-internal.h:1653
constexpr WrappedIterator & operator-=(difference_type n) noexcept
Definition: v8-internal.h:1765
constexpr WrappedIterator operator--(int) noexcept
Definition: v8-internal.h:1742
constexpr WrappedIterator & operator+=(difference_type n) noexcept
Definition: v8-internal.h:1757
constexpr const Iterator & base() const noexcept
Definition: v8-internal.h:1779
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::value_type, ElementType > value_type
Definition: v8-internal.h:1667
constexpr WrappedIterator & operator++() noexcept
Definition: v8-internal.h:1728
constexpr pointer operator->() const noexcept
Definition: v8-internal.h:1689
constexpr reference operator[](difference_type n) const noexcept
Definition: v8-internal.h:1774
typename std::iterator_traits< Iterator >::difference_type difference_type
Definition: v8-internal.h:1663
constexpr auto operator<=>(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1705
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:1675
constexpr WrappedIterator & operator--() noexcept
Definition: v8-internal.h:1738
constexpr WrappedIterator() noexcept=default
typename std::iterator_traits< Iterator >::iterator_category iterator_category
Definition: v8-internal.h:1677
constexpr reference operator*() const noexcept
Definition: v8-internal.h:1688
friend constexpr WrappedIterator operator+(difference_type n, const WrappedIterator &x) noexcept
Definition: v8-internal.h:1753
constexpr WrappedIterator operator++(int) noexcept
Definition: v8-internal.h:1732
constexpr WrappedIterator operator-(difference_type n) const noexcept
Definition: v8-internal.h:1761
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::pointer, std::add_pointer_t< ElementType > > pointer
Definition: v8-internal.h:1671
constexpr bool operator==(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1698
Definition: v8-internal.h:1622
Definition: v8-internal.h:1619
const intptr_t kHeapObjectTagMask
Definition: v8-internal.h:61
constexpr uint64_t kCppHeapPointerMarkBit
Definition: v8-internal.h:420
constexpr bool kRuntimeGeneratedCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:930
internal::Isolate * IsolateFromNeverReadOnlySpaceObject(Address obj)
constexpr uint64_t kExternalPointerTagShift
Definition: v8-internal.h:370
IndirectPointerHandle TrustedPointerHandle
Definition: v8-internal.h:898
const int kApiSystemPointerSize
Definition: v8-internal.h:51
constexpr const char * ToString(ExternalPointerTag tag)
Definition: v8-internal.h:747
constexpr bool SandboxIsEnabled()
Definition: v8-internal.h:206
const int kApiDoubleSize
Definition: v8-internal.h:52
constexpr size_t kMaxCppHeapPointers
Definition: v8-internal.h:446
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:405
const intptr_t kForwardingTagMask
Definition: v8-internal.h:69
void PrintPropertyCallbackInfo(void *property_callback_info)
constexpr ExternalPointerTagRange kAnyManagedResourceExternalPointerTag(kFirstManagedResourceTag, kLastManagedResourceTag)
constexpr uint64_t kExternalPointerPayloadMask
Definition: v8-internal.h:377
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:371
constexpr uint64_t kCppHeapPointerTagMask
Definition: v8-internal.h:423
constexpr int kTrustedPointerTableEntrySizeLog2
Definition: v8-internal.h:915
constexpr int kTrustedPointerTableEntrySize
Definition: v8-internal.h:914
constexpr uint64_t kCppHeapPointerPayloadShift
Definition: v8-internal.h:422
constexpr ExternalPointer_t kNullExternalPointer
Definition: v8-internal.h:397
Address ExternalPointer_t
Definition: v8-internal.h:394
uint32_t IndirectPointerHandle
Definition: v8-internal.h:878
constexpr CppHeapPointer_t kNullCppHeapPointer
Definition: v8-internal.h:417
const int kApiSizetSize
Definition: v8-internal.h:55
constexpr uint64_t kExternalPointerTagAndMarkbitMask
Definition: v8-internal.h:376
constexpr size_t kMaxExternalPointers
Definition: v8-internal.h:365
constexpr ExternalPointerTagRange kAnySharedManagedExternalPointerTagRange(kFirstSharedManagedExternalPointerTag, kLastSharedManagedExternalPointerTag)
constexpr size_t kWasmCodePointerTableReservationSize
Definition: v8-internal.h:926
constexpr TrustedPointerHandle kNullTrustedPointerHandle
Definition: v8-internal.h:910
const int kWeakHeapObjectTag
Definition: v8-internal.h:59
constexpr ExternalPointerHandle kNullExternalPointerHandle
Definition: v8-internal.h:398
constexpr ExternalPointerTagRange kAnyMaybeReadOnlyExternalPointerTagRange(kFirstMaybeReadOnlyExternalPointerTag, kLastMaybeReadOnlyExternalPointerTag)
constexpr ExternalPointerTag kFirstSharedManagedExternalPointerTag
Definition: v8-internal.h:805
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:917
bool ShouldThrowOnError(internal::Isolate *isolate)
constexpr uint64_t kCppHeapPointerTagShift
Definition: v8-internal.h:421
constexpr ExternalPointerTagRange kAnyInterceptorInfoExternalPointerTagRange(kFirstInterceptorInfoExternalPointerTag, kLastInterceptorInfoExternalPointerTag)
constexpr ExternalPointerTag kFirstManagedExternalPointerTag
Definition: v8-internal.h:788
constexpr int KB
Definition: v8-internal.h:41
constexpr bool kBuiltinCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:931
constexpr uint32_t kTrustedPointerHandleShift
Definition: v8-internal.h:907
constexpr ExternalPointerTagRange kAnyManagedExternalPointerTagRange(kFirstManagedExternalPointerTag, kLastManagedExternalPointerTag)
const int kHeapObjectTag
Definition: v8-internal.h:58
const int kSmiShiftSize
Definition: v8-internal.h:190
SmiTagging< kApiTaggedSize > PlatformSmiTagging
Definition: v8-internal.h:185
ExternalPointerTag
Definition: v8-internal.h:668
@ kApiIndexedPropertyDescriptorCallbackTag
Definition: v8-internal.h:719
@ kFirstMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:702
@ kExternalPointerEvacuationEntryTag
Definition: v8-internal.h:741
@ kFirstSharedExternalPointerTag
Definition: v8-internal.h:680
@ kApiNamedPropertyDefinerCallbackTag
Definition: v8-internal.h:713
@ kLastSharedExternalPointerTag
Definition: v8-internal.h:684
@ kApiIndexedPropertySetterCallbackTag
Definition: v8-internal.h:718
@ kLastExternalPointerTag
Definition: v8-internal.h:744
@ kLastExternalTypeTag
Definition: v8-internal.h:696
@ kApiIndexedPropertyGetterCallbackTag
Definition: v8-internal.h:717
@ kApiNamedPropertyDescriptorCallbackTag
Definition: v8-internal.h:712
@ kAccessorInfoGetterTag
Definition: v8-internal.h:704
@ kApiIndexedPropertyDefinerCallbackTag
Definition: v8-internal.h:720
@ kFirstExternalTypeTag
Definition: v8-internal.h:695
@ kExternalStringResourceTag
Definition: v8-internal.h:682
@ kAccessorInfoSetterTag
Definition: v8-internal.h:705
@ kApiNamedPropertyDeleterCallbackTag
Definition: v8-internal.h:714
@ kApiNamedPropertyGetterCallbackTag
Definition: v8-internal.h:710
@ kApiNamedPropertySetterCallbackTag
Definition: v8-internal.h:711
@ kApiIndexedPropertyIndexOfCallbackTag
Definition: v8-internal.h:723
@ kApiIndexedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:722
@ kExternalPointerFreeEntryTag
Definition: v8-internal.h:742
@ kFirstInterceptorInfoExternalPointerTag
Definition: v8-internal.h:708
@ kWaiterQueueNodeTag
Definition: v8-internal.h:681
@ kExternalPointerNullTag
Definition: v8-internal.h:670
@ kExternalStringResourceDataTag
Definition: v8-internal.h:683
@ kWasmStackMemoryTag
Definition: v8-internal.h:730
@ kLastManagedResourceTag
Definition: v8-internal.h:738
@ kFastApiExternalTypeTag
Definition: v8-internal.h:701
@ kExternalPointerZappedEntryTag
Definition: v8-internal.h:740
@ kApiNamedPropertyQueryCallbackTag
Definition: v8-internal.h:709
@ kFirstEmbedderDataTag
Definition: v8-internal.h:691
@ kApiIndexedPropertyQueryCallbackTag
Definition: v8-internal.h:716
@ kApiIndexedPropertyDeleterCallbackTag
Definition: v8-internal.h:721
@ kLastInterceptorInfoExternalPointerTag
Definition: v8-internal.h:725
@ kNativeContextMicrotaskQueueTag
Definition: v8-internal.h:688
@ kLastMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:728
@ kLastEmbedderDataTag
Definition: v8-internal.h:692
@ kArrayBufferExtensionTag
Definition: v8-internal.h:737
@ kFirstExternalPointerTag
Definition: v8-internal.h:669
@ kApiNamedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:715
@ kFunctionTemplateInfoCallbackTag
Definition: v8-internal.h:703
@ kApiIndexedPropertyIterableToListCallbackTag
Definition: v8-internal.h:724
const int kSmiValueSize
Definition: v8-internal.h:191
constexpr ExternalPointerTag kLastSharedManagedExternalPointerTag
Definition: v8-internal.h:807
constexpr ExternalPointerTagRange kAnyForeignExternalPointerTagRange(kFirstForeignExternalPointerTag, kLastForeignExternalPointerTag)
constexpr bool SmiValuesAre32Bits()
Definition: v8-internal.h:195
constexpr ExternalPointerTag kLastManagedExternalPointerTag
Definition: v8-internal.h:790
TagRange< ExternalPointerTag > ExternalPointerTagRange
Definition: v8-internal.h:759
constexpr ExternalPointerTag kFirstForeignExternalPointerTag
Definition: v8-internal.h:778
constexpr IndirectPointerHandle kNullIndirectPointerHandle
Definition: v8-internal.h:881
uintptr_t Address
Definition: v8-internal.h:38
void PerformCastCheck(T *data)
Definition: v8-internal.h:1563
void PrintFunctionCallbackInfo(void *function_callback_info)
constexpr size_t kTrustedPointerTableReservationSize
Definition: v8-internal.h:903
uint32_t ExternalPointerHandle
Definition: v8-internal.h:386
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:932
const int kSmiTag
Definition: v8-internal.h:72
constexpr ExternalPointerTag kFirstManagedResourceTag
Definition: v8-internal.h:799
Address CppHeapPointer_t
Definition: v8-internal.h:414
constexpr CppHeapPointerHandle kNullCppHeapPointerHandle
Definition: v8-internal.h:418
constexpr int kGarbageCollectionReasonMaxValue
Definition: v8-internal.h:1574
const int kSmiMinValue
Definition: v8-internal.h:192
constexpr int MB
Definition: v8-internal.h:42
constexpr uint64_t kExternalPointerShiftedTagMask
Definition: v8-internal.h:372
constexpr uint64_t kExternalPointerMarkBit
Definition: v8-internal.h:369
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:780
Definition: libplatform.h:15
Definition: v8-internal.h:1547
static void Perform(T *data)
Definition: v8-internal.h:948
static constexpr uint32_t kSizeInBytes
Definition: v8-internal.h:949
typename Iterator::iterator_concept iterator_concept
Definition: v8-internal.h:1633
Definition: v8-internal.h:1629
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:517
constexpr size_t Size() const
Definition: v8-internal.h:544
constexpr bool IsEmpty() const
Definition: v8-internal.h:542
Tag last
Definition: v8-internal.h:575
Tag first
Definition: v8-internal.h:574
constexpr bool operator==(const TagRange other) const
Definition: v8-internal.h:564
constexpr bool Contains(Tag tag) const
Definition: v8-internal.h:552
constexpr TagRange()
Definition: v8-internal.h:539
constexpr TagRange(Tag tag)
Definition: v8-internal.h:535
constexpr size_t hash_value() const
Definition: v8-internal.h:568
constexpr TagRange(Tag first, Tag last)
Definition: v8-internal.h:523
constexpr bool Contains(TagRange tag_range) const
Definition: v8-internal.h:560
#define FOREIGN_TAG_LIST(V)
Definition: v8-internal.h:610
#define AS_ENUM(name)
Definition: v8-internal.h:732
#define V8_EXTERNAL_POINTER_TAG_COUNT
Definition: v8-internal.h:458
#define MANAGED_TAG_LIST(V)
Definition: v8-internal.h:580
#define SHARED_MANAGED_TAG_LIST(V)
Definition: v8-internal.h:578
#define GET_FIRST(LIST)
Definition: v8-internal.h:763
#define V8_EMBEDDER_DATA_TAG_COUNT
Definition: v8-internal.h:453
#define GET_LAST(LIST)
Definition: v8-internal.h:769
#define V8_EXPORT
Definition: v8config.h:867
#define V8_INLINE
Definition: v8config.h:511
#define V8_DEPRECATE_SOON(message)
Definition: v8config.h:624
#define V8_LIKELY(condition)
Definition: v8config.h:671