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;
312constexpr size_t kAdditionalTrailingGuardRegionSize =
313 288ULL *
GB - kSandboxGuardRegionSize;
316constexpr bool kRequiresTypedArrayAccessMasks =
317 kAdditionalTrailingGuardRegionSize == 0;
321#ifdef V8_COMPRESS_POINTERS
323#ifdef V8_TARGET_OS_ANDROID
329constexpr size_t kExternalPointerTableReservationSize = 256 *
MB;
335constexpr uint32_t kExternalPointerIndexShift = 7;
336#elif defined(V8_TARGET_OS_IOS)
341constexpr size_t kExternalPointerTableReservationSize = 128 *
MB;
342constexpr uint32_t kExternalPointerIndexShift = 8;
344constexpr size_t kExternalPointerTableReservationSize = 512 *
MB;
345constexpr uint32_t kExternalPointerIndexShift = 6;
349constexpr int kExternalPointerTableEntrySize = 8;
350constexpr int kExternalPointerTableEntrySizeLog2 = 3;
353 kExternalPointerTableReservationSize / kExternalPointerTableEntrySize;
355 "kExternalPointerTableReservationSize and "
356 "kExternalPointerIndexShift don't match");
387#ifdef V8_ENABLE_SANDBOX
407#ifdef V8_COMPRESS_POINTERS
423#ifdef V8_COMPRESS_POINTERS
427constexpr size_t kCppHeapPointerTableReservationSize =
428 kExternalPointerTableReservationSize;
429constexpr uint32_t kCppHeapPointerIndexShift = kExternalPointerIndexShift;
431constexpr int kCppHeapPointerTableEntrySize = 8;
432constexpr int kCppHeapPointerTableEntrySizeLog2 = 3;
434 kCppHeapPointerTableReservationSize / kCppHeapPointerTableEntrySize;
436 "kCppHeapPointerTableReservationSize and "
437 "kCppHeapPointerIndexShift don't match");
449#define V8_EMBEDDER_DATA_TAG_COUNT 15
454#define V8_EXTERNAL_POINTER_TAG_COUNT 40
512template <
typename Tag>
514 static_assert(std::is_enum_v<Tag> &&
515 std::is_same_v<std::underlying_type_t<Tag>, uint16_t>,
516 "Tag parameter must be an enum with base type uint16_t");
520#ifdef V8_ENABLE_CHECKS
522 if (
first >
last) __builtin_unreachable();
540 constexpr size_t Size()
const {
552 return static_cast<uint32_t
>(tag) -
static_cast<uint32_t
>(
first) <=
553 static_cast<uint32_t
>(
last) -
static_cast<uint32_t
>(
first);
565 static_assert(std::is_same_v<std::underlying_type_t<Tag>, uint16_t>);
566 return (
static_cast<size_t>(
first) << 16) |
last;
574#define SHARED_MANAGED_TAG_LIST(V) V(WasmFutexManagedObjectWaitListTag)
576#define MANAGED_TAG_LIST(V) \
577 SHARED_MANAGED_TAG_LIST(V) \
578 V(GenericManagedTag) \
579 V(WasmWasmStreamingTag) \
581 V(WasmManagedDataTag) \
582 V(WasmNativeModuleTag) \
583 V(WasmInterpreterHandleTag) \
585 V(IcuBreakIteratorTag) \
586 V(IcuListFormatterTag) \
588 V(IcuSimpleDateFormatTag) \
589 V(IcuDateIntervalFormatTag) \
590 V(IcuRelativeDateTimeFormatterTag) \
591 V(IcuLocalizedNumberFormatterTag) \
592 V(IcuPluralRulesTag) \
594 V(IcuBreakIteratorWithTextTag) \
595 V(TemporalDurationTag) \
596 V(TemporalInstantTag) \
597 V(TemporalPlainDateTag) \
598 V(TemporalPlainTimeTag) \
599 V(TemporalPlainDateTimeTag) \
600 V(TemporalPlainYearMonthTag) \
601 V(TemporalPlainMonthDayTag) \
602 V(TemporalZonedDateTimeTag) \
603 V(DisplayNamesInternalTag) \
605 V(D8ModuleEmbedderDataTag)
607#define FOREIGN_TAG_LIST(V) \
608 V(GenericForeignTag) \
609 V(ApiAccessCheckCallbackTag) \
610 V(ApiAbortScriptExecutionCallbackTag) \
611 V(ApiTemporalHostSystemUTCEpochNanosecondsCallbackTag) \
613 V(SyntheticModuleTag) \
614 V(MicrotaskCallbackTag) \
615 V(MicrotaskCallbackDataTag) \
616 V(MessageListenerTag) \
617 V(WaiterQueueForeignTag) \
729#define AS_ENUM(name) k##name,
748#define ENUM_CASE(name) \
749 case ExternalPointerTag::k##name: \
756 return "Unknown tag";
762#define AS_LIST(name) ExternalPointerTag::k##name,
764#define GET_FIRST(LIST) \
766 ExternalPointerTag items[] = {LIST(AS_LIST)}; \
770#define GET_LAST(LIST) \
772 ExternalPointerTag items[] = {LIST(AS_LIST)}; \
773 return items[(sizeof(items) / sizeof(items[0])) - 1]; \
820V8_INLINE static constexpr bool IsSharedExternalPointerType(
827 return kAnySharedExternalPointerTagRange.Contains(tag_range) ||
834V8_INLINE static constexpr bool IsMaybeReadOnlyExternalPointerType(
843V8_INLINE static constexpr bool IsManagedExternalPointerType(
855V8_INLINE static constexpr bool ExternalPointerCanBeEmpty(
921 "kTrustedPointerTableReservationSize and "
922 "kTrustedPointerHandleShift don't match");
940 "Use GetCurrentIsolate() instead, which is guaranteed to return the same "
941 "isolate since https://crrev.com/c/6458560.")
950 static constexpr uint32_t kSizeInBytes =
959 next = limit =
nullptr;
960 sealed_level = level = 0;
975 return mapword ^ kMapWordXorMask;
989#ifdef V8_COMPRESS_POINTERS
999#ifdef V8_ENABLE_SANDBOX
1076#ifdef V8_COMPRESS_POINTERS
1077 static const int kIsolateExternalPointerTableOffset =
1079 static const int kIsolateSharedExternalPointerTableAddressOffset =
1081 static const int kIsolateCppHeapPointerTableOffset =
1083#ifdef V8_ENABLE_SANDBOX
1084 static const int kIsolateTrustedCageBaseOffset =
1086 static const int kIsolateTrustedPointerTableOffset =
1088 static const int kIsolateSharedTrustedPointerTableAddressOffset =
1090 static const int kIsolateTrustedPointerPublishingScopeOffset =
1115#if V8_TARGET_ARCH_PPC64
1121#if V8_TARGET_ARCH_ARM64
1137#if V8_STATIC_ROOTS_BOOL
1140#define EXPORTED_STATIC_ROOTS_PTR_LIST(V) \
1141 V(UndefinedValue, 0x11) \
1142 V(NullValue, 0x2d) \
1143 V(TrueValue, 0x71) \
1144 V(FalseValue, 0x55) \
1145 V(EmptyString, 0x49) \
1148 V(TheHoleValue, kBuildDependentTheHoleValue)
1150 using Tagged_t = uint32_t;
1151 struct StaticReadOnlyRoot {
1152#ifdef V8_ENABLE_WEBASSEMBLY
1153 static constexpr Tagged_t kBuildDependentTheHoleValue = 0x2fffd;
1155 static constexpr Tagged_t kBuildDependentTheHoleValue = 0xfffd;
1158#define DEF_ROOT(name, value) static constexpr Tagged_t k##name = value;
1159 EXPORTED_STATIC_ROOTS_PTR_LIST(DEF_ROOT)
1163 static constexpr Tagged_t kStringMapLowerBound = 0;
1164 static constexpr Tagged_t kStringMapUpperBound = 0x425;
1166#define PLUSONE(...) +1
1167 static constexpr size_t kNumberOfExportedStaticRoots =
1168 2 + EXPORTED_STATIC_ROOTS_PTR_LIST(PLUSONE);
1212#ifdef V8_MAP_PACKING
1213 static const uintptr_t kMapWordMetadataMask = 0xffffULL << 48;
1215 static const uintptr_t kMapWordSignature = 0b10;
1220 static const int kMapWordXorMask = 0b11;
1225#ifdef V8_ENABLE_CHECKS
1235 return PlatformSmiTagging::SmiToInt(value);
1247 template <
typename T,
1248 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1253 template <
typename T,
1254 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1256 return PlatformSmiTagging::IsValidSmi(value);
1259 template <
typename T,
1260 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1262 if (
V8_LIKELY(PlatformSmiTagging::IsValidSmi(value))) {
1268#if V8_STATIC_ROOTS_BOOL
1270 return static_cast<Tagged_t
>(obj) == constant;
1273 V8_INLINE static bool CheckInstanceMapRange(
Address obj, Tagged_t first_map,
1274 Tagged_t last_map) {
1276#ifdef V8_MAP_PACKING
1277 map = UnpackMapWord(map);
1279 return map >= first_map && map <= last_map;
1285#ifdef V8_MAP_PACKING
1286 map = UnpackMapWord(map);
1294#ifdef V8_MAP_PACKING
1295 map = UnpackMapWord(map);
1321 (
static_cast<unsigned>(
static_cast<unsigned>(instance_type) -
1328 return *addr &
static_cast<uint8_t
>(1U << shift);
1333 uint8_t mask =
static_cast<uint8_t
>(1U << shift);
1334 *addr =
static_cast<uint8_t
>((*addr & ~mask) | (value << shift));
1344 *addr =
static_cast<uint8_t
>((*addr & ~kNodeStateMask) | value);
1351 *
reinterpret_cast<void**
>(addr) = data;
1358 return *
reinterpret_cast<void* const*
>(addr);
1370 ++(*
reinterpret_cast<size_t*
>(addr));
1376 return reinterpret_cast<Address*
>(addr);
1380#if V8_STATIC_ROOTS_BOOL
1384#define DECOMPRESS_ROOT(name, ...) \
1385 case k##name##RootIndex: \
1386 return base + StaticReadOnlyRoot::k##name;
1387 EXPORTED_STATIC_ROOTS_PTR_LIST(DECOMPRESS_ROOT)
1388#undef DECOMPRESS_ROOT
1389#undef EXPORTED_STATIC_ROOTS_PTR_LIST
1397#ifdef V8_ENABLE_SANDBOX
1400 kIsolateExternalPointerTableOffset +
1402 return *
reinterpret_cast<Address**
>(addr);
1408 kIsolateSharedExternalPointerTableAddressOffset;
1409 addr = *
reinterpret_cast<Address*
>(addr);
1411 return *
reinterpret_cast<Address**
>(addr);
1415 template <
typename T>
1418#ifdef V8_COMPRESS_POINTERS
1425 memcpy(&r,
reinterpret_cast<void*
>(addr),
sizeof(T));
1429 return *
reinterpret_cast<const T*
>(addr);
1434#ifdef V8_COMPRESS_POINTERS
1435 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1436 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1437 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1439 return ReadRawField<Address>(heap_object_ptr, offset);
1445#ifdef V8_COMPRESS_POINTERS
1446 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1447 return static_cast<Address>(
static_cast<uintptr_t
>(value));
1449 return ReadRawField<Address>(heap_object_ptr, offset);
1458#ifdef V8_ENABLE_SANDBOX
1466 template <ExternalPo
interTagRange tag_range>
1470#ifdef V8_ENABLE_SANDBOX
1471 static_assert(!tag_range.IsEmpty());
1474 Address* table = IsSharedExternalPointerType(tag_range)
1475 ? GetSharedExternalPointerTableBase(isolate)
1476 : GetExternalPointerTableBase(isolate);
1478 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1479 uint32_t index = handle >> kExternalPointerIndexShift;
1480 std::atomic<Address>* ptr =
1481 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1482 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1486 if (
V8_LIKELY(tag_range.Contains(actual_tag))) {
1493 return ReadRawField<Address>(heap_object_ptr, offset);
1500#ifdef V8_ENABLE_SANDBOX
1503 Address* table = IsSharedExternalPointerType(tag_range)
1504 ? GetSharedExternalPointerTableBase(isolate)
1505 : GetExternalPointerTableBase(isolate);
1507 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1508 uint32_t index = handle >> kExternalPointerIndexShift;
1509 std::atomic<Address>* ptr =
1510 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1511 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1523 return ReadRawField<Address>(heap_object_ptr, offset);
1527#ifdef V8_COMPRESS_POINTERS
1529 return addr & -
static_cast<intptr_t
>(kPtrComprCageBaseAlignment);
1533 return static_cast<uint32_t
>(value);
1538 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1539 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1547template <
bool PerformCheck>
1565 CastCheck<std::is_base_of_v<Data, T> &&
1566 !std::is_same_v<Data, std::remove_cv_t<T>>>::Perform(data);
1581 Heap* heap()
const {
return heap_; }
1593 Address* allocate_impl(
size_t n);
1594 void deallocate_impl(
Address* p,
size_t n)
noexcept;
1605template <
typename T>
1610 template <
typename HeapOrIsolateT>
1612 template <
typename U>
1615 using std::allocator<T>::allocate;
1616 using std::allocator<T>::deallocate;
1619template <
typename Iterator>
1622template <
typename Iterator>
1624 requires {
typename Iterator::iterator_category; };
1629template <
typename Iterator>
1632template <HasIteratorConcept Iterator>
1634 using iterator_concept =
typename Iterator::iterator_concept;
1637template <
typename Iterator>
1641 typename std::iterator_traits<Iterator>::iterator_concept;
1644template <
typename T>
1646 using iterator_concept = std::contiguous_iterator_tag;
1653template <
typename Iterator,
typename ElementType =
void>
1657 std::is_void_v<ElementType> ||
1658 (std::is_convertible_v<typename std::iterator_traits<Iterator>::pointer,
1659 std::add_pointer_t<ElementType>> &&
1660 std::is_convertible_v<typename std::iterator_traits<Iterator>::reference,
1661 std::add_lvalue_reference_t<ElementType>>));
1664 typename std::iterator_traits<Iterator>::difference_type;
1666 std::conditional_t<std::is_void_v<ElementType>,
1667 typename std::iterator_traits<Iterator>::value_type,
1670 std::conditional_t<std::is_void_v<ElementType>,
1671 typename std::iterator_traits<Iterator>::pointer,
1672 std::add_pointer_t<ElementType>>;
1674 std::conditional_t<std::is_void_v<ElementType>,
1675 typename std::iterator_traits<Iterator>::reference,
1676 std::add_lvalue_reference_t<ElementType>>;
1678 typename std::iterator_traits<Iterator>::iterator_category;
1683 template <
typename OtherIterator,
typename OtherElementType>
1684 requires std::is_convertible_v<OtherIterator, Iterator>
1687 : it_(other.base()) {}
1691 if constexpr (std::is_pointer_v<Iterator>) {
1694 return it_.operator->();
1698 template <
typename OtherIterator,
typename OtherElementType>
1700 const WrappedIterator<OtherIterator, OtherElementType>& other)
1702 return it_ == other.base();
1705 template <
typename OtherIterator,
typename OtherElementType>
1709 if constexpr (std::three_way_comparable_with<Iterator, OtherIterator>) {
1710 return it_ <=> other.base();
1711 }
else if constexpr (std::totally_ordered_with<Iterator, OtherIterator>) {
1712 if (it_ < other.base()) {
1713 return std::strong_ordering::less;
1715 return (it_ > other.base()) ? std::strong_ordering::greater
1716 : std::strong_ordering::equal;
1718 if (it_ < other.base()) {
1719 return std::partial_ordering::less;
1721 if (other.base() < it_) {
1722 return std::partial_ordering::greater;
1724 return (it_ == other.base()) ? std::partial_ordering::equivalent
1725 : std::partial_ordering::unordered;
1769 template <
typename OtherIterator,
typename OtherElementType>
1773 return it_ - other.base();
1780 [[nodiscard]]
constexpr const Iterator&
base() const noexcept {
return it_; }
1797#ifdef V8_ENABLE_DIRECT_HANDLE
1798 static constexpr Address kTaggedNullAddress = 1;
1807 template <
typename T>
1815 template <
template <
typename T,
typename... Ms>
typename H,
typename T,
1818 return handle.template value<T>();
1821#ifdef V8_ENABLE_DIRECT_HANDLE
1823 template <
typename T>
1825 return reinterpret_cast<Address>(value);
1828 template <
typename T,
bool check_null = true,
typename S>
1830 if (check_null && slot ==
nullptr) {
1831 return reinterpret_cast<T*
>(kTaggedNullAddress);
1833 return *
reinterpret_cast<T**
>(slot);
1836 template <
typename T>
1841 template <
typename T>
1843 return reinterpret_cast<T*
>(repr);
1848 template <
typename T>
1853 template <
typename T,
bool check_null = true,
typename S>
1855 return reinterpret_cast<T*
>(slot);
1858 template <
typename T>
1864 template <
typename T>
1866 return reinterpret_cast<T*
>(repr);
1887 template <
typename T1,
typename T2>
1889 if (lhs.IsEmpty())
return rhs.IsEmpty();
1890 if (rhs.IsEmpty())
return false;
1891 return lhs.ptr() == rhs.ptr();
Definition: v8-isolate.h:292
Definition: v8-internal.h:1567
Definition: v8-internal.h:1871
static bool EqualHandles(const T1 &lhs, const T2 &rhs)
Definition: v8-internal.h:1884
static Address LoadMap(Address obj)
Definition: v8-internal.h:1287
static constexpr size_t kExternalAllocationSoftLimit
Definition: v8-internal.h:1206
static bool IsExternalTwoByteString(int instance_type)
Definition: v8-internal.h:1300
static const int kIsolateCageBaseOffset
Definition: v8-internal.h:1033
static const int kEmbedderDataArrayHeaderSize
Definition: v8-internal.h:993
static const int kHeapObjectMapOffset
Definition: v8-internal.h:978
static const int kEmbedderDataSlotSize
Definition: v8-internal.h:994
static const int kIsolateApiCallbackThunkArgumentOffset
Definition: v8-internal.h:1098
static Address ReadExternalPointerField(v8::Isolate *isolate, Address heap_object_ptr, int offset)
Definition: v8-internal.h:1463
static const int kJSAPIObjectWithEmbedderSlotsHeaderSize
Definition: v8-internal.h:989
static constexpr bool HasHeapObjectTag(Address value)
Definition: v8-internal.h:1226
static const int kIsolateHandleScopeImplementerOffset
Definition: v8-internal.h:1068
static const int kOddballType
Definition: v8-internal.h:1183
static const int kInferShouldThrowMode
Definition: v8-internal.h:1202
static const int kNewAllocationInfoOffset
Definition: v8-internal.h:1045
static Address GetRoot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1375
static const int kStringEncodingMask
Definition: v8-internal.h:1002
static const int kIsolateFastCCallCallerPcOffset
Definition: v8-internal.h:1055
static uint8_t GetNodeFlag(Address *obj, int shift)
Definition: v8-internal.h:1322
static const int kIsolateThreadLocalTopOffset
Definition: v8-internal.h:1064
static const uint32_t kNumIsolateDataSlots
Definition: v8-internal.h:1009
static const int kForeignType
Definition: v8-internal.h:1184
static const int kFirstEmbedderJSApiObjectType
Definition: v8-internal.h:1191
static const int kNumberOfBooleanFlags
Definition: v8-internal.h:1011
static uint8_t GetNodeState(Address *obj)
Definition: v8-internal.h:1333
static const int kThreadLocalTopSize
Definition: v8-internal.h:1018
static const int kIsolateRootsOffset
Definition: v8-internal.h:1108
static const int kFrameTypeApiCallExit
Definition: v8-internal.h:1124
static const int kUndefinedOddballKind
Definition: v8-internal.h:1195
static const int kMapInstanceTypeOffset
Definition: v8-internal.h:979
static constexpr Address AddressToSmi(Address value)
Definition: v8-internal.h:1234
static const int kIsolateStackGuardOffset
Definition: v8-internal.h:1034
static const int kLinearAllocationAreaSize
Definition: v8-internal.h:1017
static const int kFastCCallAlignmentPaddingSize
Definition: v8-internal.h:1052
static const int kDisallowGarbageCollectionAlign
Definition: v8-internal.h:1130
static const int kIsolateFastCCallCallerFpOffset
Definition: v8-internal.h:1058
static const int kErrorMessageParamSize
Definition: v8-internal.h:1012
static const int kSegmentedTableSegmentPoolSize
Definition: v8-internal.h:1027
static void CheckInitialized(v8::Isolate *isolate)
Definition: v8-internal.h:1220
static void UpdateNodeState(Address *obj, uint8_t value)
Definition: v8-internal.h:1338
static constexpr Address IntegralToSmi(T value)
Definition: v8-internal.h:1245
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:1251
static const int kJSObjectType
Definition: v8-internal.h:1186
static const int kExternalEntityTableBasePointerOffset
Definition: v8-internal.h:1026
static const int kBuiltinTier0TableOffset
Definition: v8-internal.h:1043
static const int kIsolateLongTaskStatsCounterOffset
Definition: v8-internal.h:1062
static const int kNativeContextEmbedderDataOffset
Definition: v8-internal.h:1000
static const int kLastJSApiObjectType
Definition: v8-internal.h:1188
static constexpr bool CanHaveInternalField(int instance_type)
Definition: v8-internal.h:1310
static constexpr int kSPAlignmentSlotCount
Definition: v8-internal.h:1121
static const int kIsolateHandleScopeDataOffset
Definition: v8-internal.h:1066
static const int kFirstNonstringType
Definition: v8-internal.h:1182
static const int kEmptyStringRootIndex
Definition: v8-internal.h:1175
static const int kBuiltinTier0EntryTableOffset
Definition: v8-internal.h:1040
static const int kFrameTypeApiIndexedAccessorExit
Definition: v8-internal.h:1127
static const int kFixedArrayHeaderSize
Definition: v8-internal.h:992
static const int kNullOddballKind
Definition: v8-internal.h:1196
static const int kUndefinedValueRootIndex
Definition: v8-internal.h:1170
static const int kExternalTwoByteRepresentationTag
Definition: v8-internal.h:1003
static constexpr Address IntToSmi(int value)
Definition: v8-internal.h:1239
static const int kDontThrow
Definition: v8-internal.h:1200
static void CheckInitializedImpl(v8::Isolate *isolate)
static void * GetEmbedderData(const v8::Isolate *isolate, uint32_t slot)
Definition: v8-internal.h:1350
static const int kStackGuardSize
Definition: v8-internal.h:1010
static const int kNodeStateMask
Definition: v8-internal.h:1179
static HandleScopeData * GetHandleScopeData(v8::Isolate *isolate)
Definition: v8-internal.h:1357
static const int kNodeStateIsWeakValue
Definition: v8-internal.h:1180
static const int kFirstJSApiObjectType
Definition: v8-internal.h:1187
static const int kStringResourceOffset
Definition: v8-internal.h:980
static bool IsExternalOneByteString(int instance_type)
Definition: v8-internal.h:1305
static const int kErrorMessageParamOffset
Definition: v8-internal.h:1038
static const int kCurrentMicrotaskNativeContextOffset
Definition: v8-internal.h:1106
static const int kFalseValueRootIndex
Definition: v8-internal.h:1174
static const int kIsolateRegexpExecVectorArgumentOffset
Definition: v8-internal.h:1100
static const int kIsolateFastApiCallTargetOffset
Definition: v8-internal.h:1060
static const int kTrueValueRootIndex
Definition: v8-internal.h:1173
static int GetInstanceType(Address obj)
Definition: v8-internal.h:1279
static const int kThrowOnError
Definition: v8-internal.h:1201
static Address ReadTaggedSignedField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1439
static const int kOddballKindOffset
Definition: v8-internal.h:983
static const int kBuiltinTier0TableSize
Definition: v8-internal.h:1016
static const int kExternalEntityTableSize
Definition: v8-internal.h:1028
static const int kFrameTypeApiConstructExit
Definition: v8-internal.h:1125
static const int kContinuationPreservedEmbedderDataOffset
Definition: v8-internal.h:1102
static const int kHandleScopeImplementerSize
Definition: v8-internal.h:1021
static const int kLastYoungAllocationOffset
Definition: v8-internal.h:1049
static const int kCurrentMicrotaskQueueOffset
Definition: v8-internal.h:1104
static Address ReadTaggedPointerField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1428
static const int kFrameTypeApiNamedAccessorExit
Definition: v8-internal.h:1126
static const int kNullValueRootIndex
Definition: v8-internal.h:1172
static void SetEmbedderData(v8::Isolate *isolate, uint32_t slot, void *data)
Definition: v8-internal.h:1343
static Address * GetRootSlot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1369
static const int kIsolateJSDispatchTableOffset
Definition: v8-internal.h:1095
static const int kTheHoleValueRootIndex
Definition: v8-internal.h:1171
static constexpr int SmiValue(Address value)
Definition: v8-internal.h:1230
static const int kTablesAlignmentPaddingSize
Definition: v8-internal.h:1013
static const int kHandleScopeDataSize
Definition: v8-internal.h:1019
static const int kExternalOneByteRepresentationTag
Definition: v8-internal.h:1004
static const int kBuiltinTier0EntryTableSize
Definition: v8-internal.h:1015
static void UpdateNodeFlag(Address *obj, bool value, int shift)
Definition: v8-internal.h:1327
static const int kCallbackInfoDataOffset
Definition: v8-internal.h:1007
static void IncrementLongTasksStatsCounter(v8::Isolate *isolate)
Definition: v8-internal.h:1363
static const int kDisallowGarbageCollectionSize
Definition: v8-internal.h:1131
static const int kOldAllocationInfoOffset
Definition: v8-internal.h:1047
static const int kIsolateEmbedderDataOffset
Definition: v8-internal.h:1070
static T ReadRawField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1412
static v8::Isolate * GetCurrentIsolate()
static constexpr int kFrameCPSlotCount
Definition: v8-internal.h:1114
static const int kEmbedderDataSlotExternalPointerOffset
Definition: v8-internal.h:998
static v8::Isolate * GetCurrentIsolateForSandbox()
Definition: v8-internal.h:1453
static int GetOddballKind(Address obj)
Definition: v8-internal.h:1296
static const int kNodeFlagsOffset
Definition: v8-internal.h:1178
static const int kRegExpStaticResultOffsetsVectorSize
Definition: v8-internal.h:1014
static const int kLastEmbedderJSApiObjectType
Definition: v8-internal.h:1192
static const int kVariousBooleanFlagsOffset
Definition: v8-internal.h:1036
static constexpr std::optional< Address > TryIntegralToSmi(T value)
Definition: v8-internal.h:1257
static const int kNodeClassIdOffset
Definition: v8-internal.h:1177
static const int kStringRepresentationAndEncodingMask
Definition: v8-internal.h:1001
static const int kJSObjectHeaderSize
Definition: v8-internal.h:984
static const int kJSSpecialApiObjectType
Definition: v8-internal.h:1185
Definition: v8-internal.h:1575
StrongRootAllocatorBase(LocalIsolate *isolate)
Definition: v8-internal.h:1602
T value_type
Definition: v8-internal.h:1604
Definition: v8-internal.h:1785
static Address ValueAsAddress(const T *value)
Definition: v8-internal.h:1845
static T * ReprAsValue(InternalRepresentationType repr)
Definition: v8-internal.h:1861
internal::Address * InternalRepresentationType
Definition: v8-internal.h:1799
static T * SlotAsValue(S *slot)
Definition: v8-internal.h:1850
static T * HandleAsValue(const H< T, Ms... > &handle)
Definition: v8-internal.h:1813
static InternalRepresentationType ValueAsRepr(const T *value)
Definition: v8-internal.h:1855
static bool IsEmpty(T *value)
Definition: v8-internal.h:1804
static constexpr InternalRepresentationType kEmpty
Definition: v8-internal.h:1800
Definition: v8-internal.h:1650
constexpr WrappedIterator & operator-=(difference_type n) noexcept
Definition: v8-internal.h:1762
constexpr WrappedIterator operator--(int) noexcept
Definition: v8-internal.h:1739
constexpr WrappedIterator & operator+=(difference_type n) noexcept
Definition: v8-internal.h:1754
constexpr const Iterator & base() const noexcept
Definition: v8-internal.h:1776
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::value_type, ElementType > value_type
Definition: v8-internal.h:1664
constexpr WrappedIterator & operator++() noexcept
Definition: v8-internal.h:1725
constexpr pointer operator->() const noexcept
Definition: v8-internal.h:1686
constexpr reference operator[](difference_type n) const noexcept
Definition: v8-internal.h:1771
typename std::iterator_traits< Iterator >::difference_type difference_type
Definition: v8-internal.h:1660
constexpr auto operator<=>(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1702
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:1672
constexpr WrappedIterator & operator--() noexcept
Definition: v8-internal.h:1735
constexpr WrappedIterator() noexcept=default
typename std::iterator_traits< Iterator >::iterator_category iterator_category
Definition: v8-internal.h:1674
constexpr reference operator*() const noexcept
Definition: v8-internal.h:1685
friend constexpr WrappedIterator operator+(difference_type n, const WrappedIterator &x) noexcept
Definition: v8-internal.h:1750
constexpr WrappedIterator operator++(int) noexcept
Definition: v8-internal.h:1729
constexpr WrappedIterator operator-(difference_type n) const noexcept
Definition: v8-internal.h:1758
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::pointer, std::add_pointer_t< ElementType > > pointer
Definition: v8-internal.h:1668
constexpr bool operator==(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1695
Definition: v8-internal.h:1619
Definition: v8-internal.h:1616
const intptr_t kHeapObjectTagMask
Definition: v8-internal.h:61
constexpr uint64_t kCppHeapPointerMarkBit
Definition: v8-internal.h:416
constexpr bool kRuntimeGeneratedCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:927
internal::Isolate * IsolateFromNeverReadOnlySpaceObject(Address obj)
constexpr uint64_t kExternalPointerTagShift
Definition: v8-internal.h:366
IndirectPointerHandle TrustedPointerHandle
Definition: v8-internal.h:895
const int kApiSystemPointerSize
Definition: v8-internal.h:51
constexpr const char * ToString(ExternalPointerTag tag)
Definition: v8-internal.h:744
constexpr bool SandboxIsEnabled()
Definition: v8-internal.h:206
const int kApiDoubleSize
Definition: v8-internal.h:52
constexpr size_t kMaxCppHeapPointers
Definition: v8-internal.h:442
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:401
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:373
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:367
constexpr uint64_t kCppHeapPointerTagMask
Definition: v8-internal.h:419
constexpr int kTrustedPointerTableEntrySizeLog2
Definition: v8-internal.h:912
constexpr int kTrustedPointerTableEntrySize
Definition: v8-internal.h:911
constexpr uint64_t kCppHeapPointerPayloadShift
Definition: v8-internal.h:418
constexpr ExternalPointer_t kNullExternalPointer
Definition: v8-internal.h:393
Address ExternalPointer_t
Definition: v8-internal.h:390
uint32_t IndirectPointerHandle
Definition: v8-internal.h:875
constexpr CppHeapPointer_t kNullCppHeapPointer
Definition: v8-internal.h:413
const int kApiSizetSize
Definition: v8-internal.h:55
constexpr uint64_t kExternalPointerTagAndMarkbitMask
Definition: v8-internal.h:372
constexpr size_t kMaxExternalPointers
Definition: v8-internal.h:361
constexpr ExternalPointerTagRange kAnySharedManagedExternalPointerTagRange(kFirstSharedManagedExternalPointerTag, kLastSharedManagedExternalPointerTag)
constexpr size_t kWasmCodePointerTableReservationSize
Definition: v8-internal.h:923
constexpr TrustedPointerHandle kNullTrustedPointerHandle
Definition: v8-internal.h:907
const int kWeakHeapObjectTag
Definition: v8-internal.h:59
constexpr ExternalPointerHandle kNullExternalPointerHandle
Definition: v8-internal.h:394
constexpr ExternalPointerTagRange kAnyMaybeReadOnlyExternalPointerTagRange(kFirstMaybeReadOnlyExternalPointerTag, kLastMaybeReadOnlyExternalPointerTag)
constexpr ExternalPointerTag kFirstSharedManagedExternalPointerTag
Definition: v8-internal.h:802
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:914
bool ShouldThrowOnError(internal::Isolate *isolate)
constexpr uint64_t kCppHeapPointerTagShift
Definition: v8-internal.h:417
constexpr ExternalPointerTagRange kAnyInterceptorInfoExternalPointerTagRange(kFirstInterceptorInfoExternalPointerTag, kLastInterceptorInfoExternalPointerTag)
constexpr ExternalPointerTag kFirstManagedExternalPointerTag
Definition: v8-internal.h:785
constexpr int KB
Definition: v8-internal.h:41
constexpr bool kBuiltinCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:928
constexpr uint32_t kTrustedPointerHandleShift
Definition: v8-internal.h:904
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:665
@ kApiIndexedPropertyDescriptorCallbackTag
Definition: v8-internal.h:716
@ kFirstMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:699
@ kExternalPointerEvacuationEntryTag
Definition: v8-internal.h:738
@ kFirstSharedExternalPointerTag
Definition: v8-internal.h:677
@ kApiNamedPropertyDefinerCallbackTag
Definition: v8-internal.h:710
@ kLastSharedExternalPointerTag
Definition: v8-internal.h:681
@ kApiIndexedPropertySetterCallbackTag
Definition: v8-internal.h:715
@ kLastExternalPointerTag
Definition: v8-internal.h:741
@ kLastExternalTypeTag
Definition: v8-internal.h:693
@ kApiIndexedPropertyGetterCallbackTag
Definition: v8-internal.h:714
@ kApiNamedPropertyDescriptorCallbackTag
Definition: v8-internal.h:709
@ kAccessorInfoGetterTag
Definition: v8-internal.h:701
@ kApiIndexedPropertyDefinerCallbackTag
Definition: v8-internal.h:717
@ kFirstExternalTypeTag
Definition: v8-internal.h:692
@ kExternalStringResourceTag
Definition: v8-internal.h:679
@ kAccessorInfoSetterTag
Definition: v8-internal.h:702
@ kApiNamedPropertyDeleterCallbackTag
Definition: v8-internal.h:711
@ kApiNamedPropertyGetterCallbackTag
Definition: v8-internal.h:707
@ kApiNamedPropertySetterCallbackTag
Definition: v8-internal.h:708
@ kApiIndexedPropertyIndexOfCallbackTag
Definition: v8-internal.h:720
@ kApiIndexedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:719
@ kExternalPointerFreeEntryTag
Definition: v8-internal.h:739
@ kFirstInterceptorInfoExternalPointerTag
Definition: v8-internal.h:705
@ kWaiterQueueNodeTag
Definition: v8-internal.h:678
@ kExternalPointerNullTag
Definition: v8-internal.h:667
@ kExternalStringResourceDataTag
Definition: v8-internal.h:680
@ kWasmStackMemoryTag
Definition: v8-internal.h:727
@ kLastManagedResourceTag
Definition: v8-internal.h:735
@ kFastApiExternalTypeTag
Definition: v8-internal.h:698
@ kExternalPointerZappedEntryTag
Definition: v8-internal.h:737
@ kApiNamedPropertyQueryCallbackTag
Definition: v8-internal.h:706
@ kFirstEmbedderDataTag
Definition: v8-internal.h:688
@ kApiIndexedPropertyQueryCallbackTag
Definition: v8-internal.h:713
@ kApiIndexedPropertyDeleterCallbackTag
Definition: v8-internal.h:718
@ kLastInterceptorInfoExternalPointerTag
Definition: v8-internal.h:722
@ kNativeContextMicrotaskQueueTag
Definition: v8-internal.h:685
@ kLastMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:725
@ kLastEmbedderDataTag
Definition: v8-internal.h:689
@ kArrayBufferExtensionTag
Definition: v8-internal.h:734
@ kFirstExternalPointerTag
Definition: v8-internal.h:666
@ kApiNamedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:712
@ kFunctionTemplateInfoCallbackTag
Definition: v8-internal.h:700
@ kApiIndexedPropertyIterableToListCallbackTag
Definition: v8-internal.h:721
const int kSmiValueSize
Definition: v8-internal.h:191
constexpr ExternalPointerTag kLastSharedManagedExternalPointerTag
Definition: v8-internal.h:804
constexpr ExternalPointerTagRange kAnyForeignExternalPointerTagRange(kFirstForeignExternalPointerTag, kLastForeignExternalPointerTag)
constexpr bool SmiValuesAre32Bits()
Definition: v8-internal.h:195
constexpr ExternalPointerTag kLastManagedExternalPointerTag
Definition: v8-internal.h:787
TagRange< ExternalPointerTag > ExternalPointerTagRange
Definition: v8-internal.h:756
constexpr ExternalPointerTag kFirstForeignExternalPointerTag
Definition: v8-internal.h:775
constexpr IndirectPointerHandle kNullIndirectPointerHandle
Definition: v8-internal.h:878
uintptr_t Address
Definition: v8-internal.h:38
void PerformCastCheck(T *data)
Definition: v8-internal.h:1560
void PrintFunctionCallbackInfo(void *function_callback_info)
constexpr size_t kTrustedPointerTableReservationSize
Definition: v8-internal.h:900
uint32_t ExternalPointerHandle
Definition: v8-internal.h:382
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:929
const int kSmiTag
Definition: v8-internal.h:72
constexpr ExternalPointerTag kFirstManagedResourceTag
Definition: v8-internal.h:796
Address CppHeapPointer_t
Definition: v8-internal.h:410
constexpr CppHeapPointerHandle kNullCppHeapPointerHandle
Definition: v8-internal.h:414
constexpr int kGarbageCollectionReasonMaxValue
Definition: v8-internal.h:1571
const int kSmiMinValue
Definition: v8-internal.h:192
constexpr int MB
Definition: v8-internal.h:42
constexpr uint64_t kExternalPointerShiftedTagMask
Definition: v8-internal.h:368
constexpr uint64_t kExternalPointerMarkBit
Definition: v8-internal.h:365
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:777
Definition: libplatform.h:15
Definition: v8-internal.h:1544
static void Perform(T *data)
Definition: v8-internal.h:945
static constexpr uint32_t kSizeInBytes
Definition: v8-internal.h:946
typename Iterator::iterator_concept iterator_concept
Definition: v8-internal.h:1630
Definition: v8-internal.h:1626
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:513
constexpr size_t Size() const
Definition: v8-internal.h:540
constexpr bool IsEmpty() const
Definition: v8-internal.h:538
Tag last
Definition: v8-internal.h:571
Tag first
Definition: v8-internal.h:570
constexpr bool operator==(const TagRange other) const
Definition: v8-internal.h:560
constexpr bool Contains(Tag tag) const
Definition: v8-internal.h:548
constexpr TagRange()
Definition: v8-internal.h:535
constexpr TagRange(Tag tag)
Definition: v8-internal.h:531
constexpr size_t hash_value() const
Definition: v8-internal.h:564
constexpr TagRange(Tag first, Tag last)
Definition: v8-internal.h:519
constexpr bool Contains(TagRange tag_range) const
Definition: v8-internal.h:556
#define FOREIGN_TAG_LIST(V)
Definition: v8-internal.h:607
#define AS_ENUM(name)
Definition: v8-internal.h:729
#define V8_EXTERNAL_POINTER_TAG_COUNT
Definition: v8-internal.h:454
#define MANAGED_TAG_LIST(V)
Definition: v8-internal.h:576
#define SHARED_MANAGED_TAG_LIST(V)
Definition: v8-internal.h:574
#define GET_FIRST(LIST)
Definition: v8-internal.h:760
#define V8_EMBEDDER_DATA_TAG_COUNT
Definition: v8-internal.h:449
#define GET_LAST(LIST)
Definition: v8-internal.h:766
#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