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_ARCH_ARM64) && defined(V8_TARGET_OS_CHROMEOS)
230constexpr size_t kSandboxSizeLog2 = 37;
231#elif defined(V8_TARGET_OS_IOS)
236constexpr size_t kSandboxSizeLog2 = 34;
237#elif defined(V8_HOST_ARCH_RISCV64)
242constexpr size_t kSandboxSizeLog2 = 37;
243#elif defined(V8_TARGET_ARCH_LOONG64)
246constexpr size_t kSandboxSizeLog2 = 37;
249constexpr size_t kSandboxSizeLog2 = 40;
251constexpr size_t kSandboxSize = 1ULL << kSandboxSizeLog2;
258constexpr size_t kSandboxAlignment = kPtrComprCageBaseAlignment;
264constexpr uint64_t kSandboxedPointerShift = 64 - kSandboxSizeLog2;
276constexpr size_t kSandboxMinimumReservationSize = 8ULL *
GB;
278static_assert(kSandboxMinimumReservationSize > kPtrComprCageReservationSize,
279 "The minimum reservation size for a sandbox must be larger than "
280 "the pointer compression cage contained within it.");
286constexpr size_t kMaxSafeBufferSizeForSandbox = 32ULL *
GB - 1;
288constexpr size_t kBoundedSizeShift = 29;
289static_assert(1ULL << (64 - kBoundedSizeShift) ==
290 kMaxSafeBufferSizeForSandbox + 1,
291 "The maximum size of a BoundedSize must be synchronized with the "
292 "kMaxSafeBufferSizeForSandbox");
293constexpr size_t kBoundedSizeMask = (1ULL << (64 - kBoundedSizeShift)) - 1;
301constexpr size_t kSandboxGuardRegionSize =
302 32ULL *
GB + (kMaxSafeBufferSizeForSandbox + 1);
304static_assert((kSandboxGuardRegionSize % kSandboxAlignment) == 0,
305 "The size of the guard regions around the sandbox must be a "
306 "multiple of its required alignment.");
307static_assert(kMaxSafeBufferSizeForSandbox <= kSandboxGuardRegionSize,
308 "The maximum allowed buffer size must not be larger than the "
309 "sandbox's guard regions");
311#if defined(V8_TARGET_OS_ANDROID)
313constexpr size_t kAdditionalTrailingGuardRegionSize = 0;
314#elif defined(V8_TARGET_ARCH_ARM64) && defined(V8_TARGET_OS_CHROMEOS)
316constexpr size_t kAdditionalTrailingGuardRegionSize = 0;
317#elif defined(V8_TARGET_ARCH_LOONG64)
320constexpr size_t kAdditionalTrailingGuardRegionSize = 0;
324constexpr size_t kAdditionalTrailingGuardRegionSize =
325 288ULL *
GB - kSandboxGuardRegionSize;
328constexpr bool kRequiresTypedArrayAccessMasks =
329 kAdditionalTrailingGuardRegionSize == 0;
333#ifdef V8_COMPRESS_POINTERS
335#ifdef V8_TARGET_OS_ANDROID
341constexpr size_t kExternalPointerTableReservationSize = 256 *
MB;
347constexpr uint32_t kExternalPointerIndexShift = 7;
348#elif defined(V8_TARGET_OS_IOS)
353constexpr size_t kExternalPointerTableReservationSize = 128 *
MB;
354constexpr uint32_t kExternalPointerIndexShift = 8;
356constexpr size_t kExternalPointerTableReservationSize = 512 *
MB;
357constexpr uint32_t kExternalPointerIndexShift = 6;
361constexpr int kExternalPointerTableEntrySize = 8;
362constexpr int kExternalPointerTableEntrySizeLog2 = 3;
365 kExternalPointerTableReservationSize / kExternalPointerTableEntrySize;
367 "kExternalPointerTableReservationSize and "
368 "kExternalPointerIndexShift don't match");
377#if V8_TARGET_ARCH_X64 && V8_SUPPORT_LA57
407#ifdef V8_COMPRESS_POINTERS
427#ifdef V8_COMPRESS_POINTERS
443#ifdef V8_COMPRESS_POINTERS
447constexpr size_t kCppHeapPointerTableReservationSize =
448 kExternalPointerTableReservationSize;
449constexpr uint32_t kCppHeapPointerIndexShift = kExternalPointerIndexShift;
451constexpr int kCppHeapPointerTableEntrySize = 8;
452constexpr int kCppHeapPointerTableEntrySizeLog2 = 3;
454 kCppHeapPointerTableReservationSize / kCppHeapPointerTableEntrySize;
456 "kCppHeapPointerTableReservationSize and "
457 "kCppHeapPointerIndexShift don't match");
469#define V8_EMBEDDER_DATA_TAG_COUNT 15
474#define V8_EXTERNAL_POINTER_TAG_COUNT 40
535template <
typename Tag>
537 static_assert(std::is_enum_v<Tag> &&
538 std::is_same_v<std::underlying_type_t<Tag>, uint16_t>,
539 "Tag parameter must be an enum with base type uint16_t");
543#if defined(V8_ENABLE_CHECKS) && V8_HAS_BUILTIN_UNREACHABLE
545 if (
first >
last) __builtin_unreachable();
563 constexpr size_t Size()
const {
575 return static_cast<uint32_t
>(tag) -
static_cast<uint32_t
>(
first) <=
576 static_cast<uint32_t
>(
last) -
static_cast<uint32_t
>(
first);
588 static_assert(std::is_same_v<std::underlying_type_t<Tag>, uint16_t>);
589 return (
static_cast<size_t>(
first) << 16) |
last;
622#define SHARED_MANAGED_TAG_LIST(V) V(WasmFutexManagedObjectWaitListTag)
624#define MANAGED_TAG_LIST(V) \
625 SHARED_MANAGED_TAG_LIST(V) \
626 V(IcuBreakIteratorTag) \
627 V(IcuListFormatterTag) \
629 V(IcuSimpleDateFormatTag) \
630 V(IcuDateIntervalFormatTag) \
631 V(IcuRelativeDateTimeFormatterTag) \
632 V(IcuLocalizedNumberFormatterTag) \
635#define FOREIGN_TAG_LIST(V) \
636 V(GenericForeignTag) \
637 V(ApiAccessCheckCallbackTag) \
638 V(ApiAbortScriptExecutionCallbackTag) \
639 V(ApiTemporalHostSystemUTCEpochNanosecondsCallbackTag) \
641 V(SyntheticModuleTag) \
642 V(MicrotaskCallbackTag) \
643 V(MicrotaskCallbackDataTag) \
644 V(MessageListenerTag) \
645 V(WaiterQueueForeignTag) \
748#define AS_ENUM(name) k##name,
771#define ENUM_CASE(name) \
772 case ExternalPointerTag::k##name: \
779 return "Unknown tag";
785#define AS_LIST(name) ExternalPointerTag::k##name,
787#define GET_FIRST(LIST) \
789 ExternalPointerTag items[] = {LIST(AS_LIST)}; \
793#define GET_LAST(LIST) \
795 ExternalPointerTag items[] = {LIST(AS_LIST)}; \
796 return items[(sizeof(items) / sizeof(items[0])) - 1]; \
843V8_INLINE static constexpr bool IsSharedExternalPointerType(
850 return kAnySharedExternalPointerTagRange.Contains(tag_range) ||
857V8_INLINE static constexpr bool IsMaybeReadOnlyExternalPointerType(
866V8_INLINE static constexpr bool IsManagedExternalPointerType(
878V8_INLINE static constexpr bool ExternalPointerCanBeEmpty(
926 "kTrustedPointerTableReservationSize and "
927 "kTrustedPointerHandleShift don't match");
973 return mapword ^ kMapWordXorMask;
991#ifdef V8_COMPRESS_POINTERS
1073#ifdef V8_COMPRESS_POINTERS
1074 static const int kIsolateExternalPointerTableOffset =
1076 static const int kIsolateSharedExternalPointerTableAddressOffset =
1078 static const int kIsolateCppHeapPointerTableOffset =
1080#ifdef V8_ENABLE_SANDBOX
1081 static const int kIsolateTrustedCageBaseOffset =
1083 static const int kIsolateTrustedPointerTableOffset =
1085 static const int kIsolateSharedTrustedPointerTableAddressOffset =
1087 static const int kIsolateTrustedPointerPublishingScopeOffset =
1114#if V8_TARGET_ARCH_PPC64
1120#if V8_TARGET_ARCH_ARM64
1136#if V8_STATIC_ROOTS_BOOL
1139#define EXPORTED_STATIC_ROOTS_PTR_LIST(V) \
1140 V(UndefinedValue, 0x11) \
1141 V(NullValue, 0x2d) \
1142 V(TrueValue, 0x71) \
1143 V(FalseValue, 0x55) \
1144 V(EmptyString, 0x49) \
1145 V(TheHoleValue, 0xfffd)
1147 using Tagged_t = uint32_t;
1148 struct StaticReadOnlyRoot {
1149#define DEF_ROOT(name, value) static constexpr Tagged_t k##name = value;
1150 EXPORTED_STATIC_ROOTS_PTR_LIST(DEF_ROOT)
1154 static constexpr Tagged_t kStringMapLowerBound = 0;
1155 static constexpr Tagged_t kStringMapUpperBound = 0x425;
1157#define PLUSONE(...) +1
1158 static constexpr size_t kNumberOfExportedStaticRoots =
1159 2 + EXPORTED_STATIC_ROOTS_PTR_LIST(PLUSONE);
1203#ifdef V8_MAP_PACKING
1204 static const uintptr_t kMapWordMetadataMask = 0xffffULL << 48;
1206 static const uintptr_t kMapWordSignature = 0b10;
1211 static const int kMapWordXorMask = 0b11;
1216#ifdef V8_ENABLE_CHECKS
1226 return PlatformSmiTagging::SmiToInt(value);
1238 template <
typename T,
1239 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1244 template <
typename T,
1245 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1247 return PlatformSmiTagging::IsValidSmi(value);
1250 template <
typename T,
1251 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1253 if (
V8_LIKELY(PlatformSmiTagging::IsValidSmi(value))) {
1259#if V8_STATIC_ROOTS_BOOL
1261 return static_cast<Tagged_t
>(obj) == constant;
1264 V8_INLINE static bool CheckInstanceMapRange(
Address obj, Tagged_t first_map,
1265 Tagged_t last_map) {
1267#ifdef V8_MAP_PACKING
1268 map = UnpackMapWord(map);
1270 return map >= first_map && map <= last_map;
1276#ifdef V8_MAP_PACKING
1277 map = UnpackMapWord(map);
1285#ifdef V8_MAP_PACKING
1286 map = UnpackMapWord(map);
1312 (
static_cast<unsigned>(
static_cast<unsigned>(instance_type) -
1319 return *addr &
static_cast<uint8_t
>(1U << shift);
1324 uint8_t mask =
static_cast<uint8_t
>(1U << shift);
1325 *addr =
static_cast<uint8_t
>((*addr & ~mask) | (value << shift));
1335 *addr =
static_cast<uint8_t
>((*addr & ~kNodeStateMask) | value);
1342 *
reinterpret_cast<void**
>(addr) = data;
1349 return *
reinterpret_cast<void* const*
>(addr);
1361 ++(*
reinterpret_cast<size_t*
>(addr));
1367 return reinterpret_cast<Address*
>(addr);
1371#if V8_STATIC_ROOTS_BOOL
1375#define DECOMPRESS_ROOT(name, ...) \
1376 case k##name##RootIndex: \
1377 return base + StaticReadOnlyRoot::k##name;
1378 EXPORTED_STATIC_ROOTS_PTR_LIST(DECOMPRESS_ROOT)
1379#undef DECOMPRESS_ROOT
1380#undef EXPORTED_STATIC_ROOTS_PTR_LIST
1388#ifdef V8_COMPRESS_POINTERS
1391 kIsolateExternalPointerTableOffset +
1393 return *
reinterpret_cast<Address**
>(addr);
1399 kIsolateSharedExternalPointerTableAddressOffset;
1400 addr = *
reinterpret_cast<Address*
>(addr);
1402 return *
reinterpret_cast<Address**
>(addr);
1406 template <
typename T>
1409#ifdef V8_COMPRESS_POINTERS
1416 memcpy(&r,
reinterpret_cast<void*
>(addr),
sizeof(T));
1420 return *
reinterpret_cast<const T*
>(addr);
1425#ifdef V8_COMPRESS_POINTERS
1426 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1427 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1428 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1430 return ReadRawField<Address>(heap_object_ptr, offset);
1436#ifdef V8_COMPRESS_POINTERS
1437 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1438 return static_cast<Address>(
static_cast<uintptr_t
>(value));
1440 return ReadRawField<Address>(heap_object_ptr, offset);
1449#ifdef V8_COMPRESS_POINTERS
1457 template <ExternalPo
interTagRange tag_range>
1461#ifdef V8_COMPRESS_POINTERS
1462 static_assert(!tag_range.IsEmpty());
1465 Address* table = IsSharedExternalPointerType(tag_range)
1466 ? GetSharedExternalPointerTableBase(isolate)
1467 : GetExternalPointerTableBase(isolate);
1469 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1470 uint32_t index = handle >> kExternalPointerIndexShift;
1471 std::atomic<Address>* ptr =
1472 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1473 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1477 if (
V8_LIKELY(tag_range.Contains(actual_tag))) {
1484 return ReadRawField<Address>(heap_object_ptr, offset);
1491#ifdef V8_COMPRESS_POINTERS
1494 Address* table = IsSharedExternalPointerType(tag_range)
1495 ? GetSharedExternalPointerTableBase(isolate)
1496 : GetExternalPointerTableBase(isolate);
1498 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1499 uint32_t index = handle >> kExternalPointerIndexShift;
1500 std::atomic<Address>* ptr =
1501 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1502 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1514 return ReadRawField<Address>(heap_object_ptr, offset);
1518#ifdef V8_COMPRESS_POINTERS
1520 return addr & -
static_cast<intptr_t
>(kPtrComprCageBaseAlignment);
1524 return static_cast<uint32_t
>(value);
1529 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1530 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1538template <
bool PerformCheck>
1556 CastCheck<std::is_base_of_v<Data, T> &&
1557 !std::is_same_v<Data, std::remove_cv_t<T>>>::Perform(data);
1572 Heap* heap()
const {
return heap_; }
1584 Address* allocate_impl(
size_t n);
1585 void deallocate_impl(
Address* p,
size_t n)
noexcept;
1596template <
typename T>
1601 template <
typename HeapOrIsolateT>
1603 template <
typename U>
1606 using std::allocator<T>::allocate;
1607 using std::allocator<T>::deallocate;
1610template <
typename Iterator>
1613template <
typename Iterator>
1615 requires {
typename Iterator::iterator_category; };
1620template <
typename Iterator>
1623template <HasIteratorConcept Iterator>
1625 using iterator_concept =
typename Iterator::iterator_concept;
1628template <
typename Iterator>
1632 typename std::iterator_traits<Iterator>::iterator_concept;
1635template <
typename T>
1637 using iterator_concept = std::contiguous_iterator_tag;
1644template <
typename Iterator,
typename ElementType =
void>
1648 std::is_void_v<ElementType> ||
1649 (std::is_convertible_v<typename std::iterator_traits<Iterator>::pointer,
1650 std::add_pointer_t<ElementType>> &&
1651 std::is_convertible_v<typename std::iterator_traits<Iterator>::reference,
1652 std::add_lvalue_reference_t<ElementType>>));
1655 typename std::iterator_traits<Iterator>::difference_type;
1657 std::conditional_t<std::is_void_v<ElementType>,
1658 typename std::iterator_traits<Iterator>::value_type,
1661 std::conditional_t<std::is_void_v<ElementType>,
1662 typename std::iterator_traits<Iterator>::pointer,
1663 std::add_pointer_t<ElementType>>;
1665 std::conditional_t<std::is_void_v<ElementType>,
1666 typename std::iterator_traits<Iterator>::reference,
1667 std::add_lvalue_reference_t<ElementType>>;
1669 typename std::iterator_traits<Iterator>::iterator_category;
1674 template <
typename OtherIterator,
typename OtherElementType>
1675 requires std::is_convertible_v<OtherIterator, Iterator>
1678 : it_(other.base()) {}
1682 if constexpr (std::is_pointer_v<Iterator>) {
1685 return it_.operator->();
1689 template <
typename OtherIterator,
typename OtherElementType>
1691 const WrappedIterator<OtherIterator, OtherElementType>& other)
1693 return it_ == other.base();
1696 template <
typename OtherIterator,
typename OtherElementType>
1700 if constexpr (std::three_way_comparable_with<Iterator, OtherIterator>) {
1701 return it_ <=> other.base();
1702 }
else if constexpr (std::totally_ordered_with<Iterator, OtherIterator>) {
1703 if (it_ < other.base()) {
1704 return std::strong_ordering::less;
1706 return (it_ > other.base()) ? std::strong_ordering::greater
1707 : std::strong_ordering::equal;
1709 if (it_ < other.base()) {
1710 return std::partial_ordering::less;
1712 if (other.base() < it_) {
1713 return std::partial_ordering::greater;
1715 return (it_ == other.base()) ? std::partial_ordering::equivalent
1716 : std::partial_ordering::unordered;
1760 template <
typename OtherIterator,
typename OtherElementType>
1764 return it_ - other.base();
1771 [[nodiscard]]
constexpr const Iterator&
base() const noexcept {
return it_; }
1790#ifdef V8_ENABLE_DIRECT_HANDLE
1798 template <
typename T>
1806 template <
template <
typename T,
typename... Ms>
typename H,
typename T,
1809 return handle.template value<T>();
1812#ifdef V8_ENABLE_DIRECT_HANDLE
1814 template <
typename T>
1816 return reinterpret_cast<Address>(value);
1819 template <
typename T,
bool check_null = true,
typename S>
1821 if (check_null && slot ==
nullptr) {
1824 return *
reinterpret_cast<T**
>(slot);
1827 template <
typename T>
1832 template <
typename T>
1834 return reinterpret_cast<T*
>(repr);
1839 template <
typename T>
1844 template <
typename T,
bool check_null = true,
typename S>
1846 return reinterpret_cast<T*
>(slot);
1849 template <
typename T>
1855 template <
typename T>
1857 return reinterpret_cast<T*
>(repr);
1878 template <
typename T1,
typename T2>
1880 return lhs.ptr_relaxed() == rhs.ptr_relaxed();
1901template <std::contiguous_iterator Iterator,
typename ElementType>
1902struct std::pointer_traits<
1903 v8::internal::WrappedIterator<Iterator, ElementType>> {
1905 using element_type = std::remove_reference_t<typename pointer::reference>;
1909 auto* addr = std::to_address(it.base());
1910 using raw_element = std::remove_pointer_t<
decltype(addr)>;
1911 static_assert(
sizeof(raw_element) ==
sizeof(
element_type));
1912 if constexpr (std::is_same_v<std::remove_cv_t<raw_element>,
1913 std::remove_cv_t<element_type>>) {
1916 static_assert(std::is_base_of_v<element_type, raw_element>);
1917 static_assert(std::is_standard_layout_v<raw_element>);
1918 static_assert(!std::is_empty_v<element_type>);
1921 if (std::is_constant_evaluated()) {
Definition: v8-isolate.h:299
Definition: v8-internal.h:1558
Definition: v8-internal.h:1862
static bool EqualHandles(const T1 &lhs, const T2 &rhs)
Definition: v8-internal.h:1875
static Address LoadMap(Address obj)
Definition: v8-internal.h:1278
static constexpr size_t kExternalAllocationSoftLimit
Definition: v8-internal.h:1197
static bool IsExternalTwoByteString(int instance_type)
Definition: v8-internal.h:1291
static const int kIsolateCageBaseOffset
Definition: v8-internal.h:1030
static const int kHeapObjectMapOffset
Definition: v8-internal.h:976
static const int kEmbedderDataSlotSize
Definition: v8-internal.h:995
static const int kIsolateApiCallbackThunkArgumentOffset
Definition: v8-internal.h:1095
static const int kAllocationSiteCacheOffset
Definition: v8-internal.h:1105
static Address ReadExternalPointerField(v8::Isolate *isolate, Address heap_object_ptr, int offset)
Definition: v8-internal.h:1454
static const int kJSAPIObjectWithEmbedderSlotsHeaderSize
Definition: v8-internal.h:991
static constexpr bool HasHeapObjectTag(Address value)
Definition: v8-internal.h:1217
static const int kIsolateHandleScopeImplementerOffset
Definition: v8-internal.h:1065
static const int kOddballType
Definition: v8-internal.h:1174
static const int kInferShouldThrowMode
Definition: v8-internal.h:1193
static const int kNewAllocationInfoOffset
Definition: v8-internal.h:1042
static Address GetRoot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1366
static const int kStringEncodingMask
Definition: v8-internal.h:1002
static const int kIsolateFastCCallCallerPcOffset
Definition: v8-internal.h:1052
static uint8_t GetNodeFlag(Address *obj, int shift)
Definition: v8-internal.h:1313
static const int kIsolateThreadLocalTopOffset
Definition: v8-internal.h:1061
static const uint32_t kNumIsolateDataSlots
Definition: v8-internal.h:1009
static const int kForeignType
Definition: v8-internal.h:1175
static const int kFirstEmbedderJSApiObjectType
Definition: v8-internal.h:1182
static const int kNumberOfBooleanFlags
Definition: v8-internal.h:1011
static uint8_t GetNodeState(Address *obj)
Definition: v8-internal.h:1324
static const int kThreadLocalTopSize
Definition: v8-internal.h:1018
static const int kIsolateRootsOffset
Definition: v8-internal.h:1107
static const int kFrameTypeApiCallExit
Definition: v8-internal.h:1123
static const int kUndefinedOddballKind
Definition: v8-internal.h:1186
static const int kMapInstanceTypeOffset
Definition: v8-internal.h:977
static constexpr Address AddressToSmi(Address value)
Definition: v8-internal.h:1225
static const int kIsolateStackGuardOffset
Definition: v8-internal.h:1031
static const int kLinearAllocationAreaSize
Definition: v8-internal.h:1017
static const int kFastCCallAlignmentPaddingSize
Definition: v8-internal.h:1049
static const int kDisallowGarbageCollectionAlign
Definition: v8-internal.h:1129
static const int kIsolateFastCCallCallerFpOffset
Definition: v8-internal.h:1055
static const int kErrorMessageParamSize
Definition: v8-internal.h:1012
static void CheckInitialized(v8::Isolate *isolate)
Definition: v8-internal.h:1211
static void UpdateNodeState(Address *obj, uint8_t value)
Definition: v8-internal.h:1329
static constexpr Address IntegralToSmi(T value)
Definition: v8-internal.h:1236
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:1242
static const int kJSObjectType
Definition: v8-internal.h:1177
static const int kExternalStringResourceWrapperResourceOffset
Definition: v8-internal.h:983
static const int kExternalEntityTableBasePointerOffset
Definition: v8-internal.h:1026
static const int kBuiltinTier0TableOffset
Definition: v8-internal.h:1040
static const int kIsolateLongTaskStatsCounterOffset
Definition: v8-internal.h:1059
static const int kNativeContextEmbedderDataOffset
Definition: v8-internal.h:999
static const int kLastJSApiObjectType
Definition: v8-internal.h:1179
static constexpr bool CanHaveInternalField(int instance_type)
Definition: v8-internal.h:1301
static constexpr int kSPAlignmentSlotCount
Definition: v8-internal.h:1120
static const int kIsolateHandleScopeDataOffset
Definition: v8-internal.h:1063
static const int kFirstNonstringType
Definition: v8-internal.h:1173
static const int kEmptyStringRootIndex
Definition: v8-internal.h:1166
static const int kBuiltinTier0EntryTableOffset
Definition: v8-internal.h:1037
static const int kFrameTypeApiIndexedAccessorExit
Definition: v8-internal.h:1126
static const int kFixedArrayHeaderSize
Definition: v8-internal.h:994
static const int kNullOddballKind
Definition: v8-internal.h:1187
static const int kUndefinedValueRootIndex
Definition: v8-internal.h:1161
static const int kExternalTwoByteRepresentationTag
Definition: v8-internal.h:1003
static constexpr Address IntToSmi(int value)
Definition: v8-internal.h:1230
static const int kDontThrow
Definition: v8-internal.h:1191
static void CheckInitializedImpl(v8::Isolate *isolate)
static void * GetEmbedderData(const v8::Isolate *isolate, uint32_t slot)
Definition: v8-internal.h:1341
static const int kStackGuardSize
Definition: v8-internal.h:1010
static const int kNodeStateMask
Definition: v8-internal.h:1170
static HandleScopeData * GetHandleScopeData(v8::Isolate *isolate)
Definition: v8-internal.h:1348
static const int kEmbedderDataSlotCppHeapPointerOffset
Definition: v8-internal.h:996
static const int kNodeStateIsWeakValue
Definition: v8-internal.h:1171
static const int kFirstJSApiObjectType
Definition: v8-internal.h:1178
static const int kStringResourceOffset
Definition: v8-internal.h:978
static bool IsExternalOneByteString(int instance_type)
Definition: v8-internal.h:1296
static const int kErrorMessageParamOffset
Definition: v8-internal.h:1035
static const int kCurrentMicrotaskNativeContextOffset
Definition: v8-internal.h:1103
static const int kFalseValueRootIndex
Definition: v8-internal.h:1165
static const int kIsolateRegexpExecVectorArgumentOffset
Definition: v8-internal.h:1097
static const int kIsolateFastApiCallTargetOffset
Definition: v8-internal.h:1057
static const int kTrueValueRootIndex
Definition: v8-internal.h:1164
static int GetInstanceType(Address obj)
Definition: v8-internal.h:1270
static const int kThrowOnError
Definition: v8-internal.h:1192
static Address ReadTaggedSignedField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1430
static const int kOddballKindOffset
Definition: v8-internal.h:985
static const int kBuiltinTier0TableSize
Definition: v8-internal.h:1016
static const int kExternalEntityTableSize
Definition: v8-internal.h:1027
static const int kFrameTypeApiConstructExit
Definition: v8-internal.h:1124
static const int kContinuationPreservedEmbedderDataOffset
Definition: v8-internal.h:1099
static const int kHandleScopeImplementerSize
Definition: v8-internal.h:1021
static const int kLastYoungAllocationOffset
Definition: v8-internal.h:1046
static const int kCurrentMicrotaskQueueOffset
Definition: v8-internal.h:1101
static Address ReadTaggedPointerField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1419
static const int kFrameTypeApiNamedAccessorExit
Definition: v8-internal.h:1125
static const int kNullValueRootIndex
Definition: v8-internal.h:1163
static void SetEmbedderData(v8::Isolate *isolate, uint32_t slot, void *data)
Definition: v8-internal.h:1334
static Address * GetRootSlot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1360
static const int kIsolateJSDispatchTableOffset
Definition: v8-internal.h:1092
static const int kTheHoleValueRootIndex
Definition: v8-internal.h:1162
static constexpr int SmiValue(Address value)
Definition: v8-internal.h:1221
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:1318
static const int kCallbackInfoDataOffset
Definition: v8-internal.h:1007
static void IncrementLongTasksStatsCounter(v8::Isolate *isolate)
Definition: v8-internal.h:1354
static const int kDisallowGarbageCollectionSize
Definition: v8-internal.h:1130
static const int kOldAllocationInfoOffset
Definition: v8-internal.h:1044
static const int kIsolateEmbedderDataOffset
Definition: v8-internal.h:1067
static T ReadRawField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1403
static v8::Isolate * GetCurrentIsolate()
static constexpr int kFrameCPSlotCount
Definition: v8-internal.h:1113
static v8::Isolate * GetCurrentIsolateForSandbox()
Definition: v8-internal.h:1444
static int GetOddballKind(Address obj)
Definition: v8-internal.h:1287
static const int kNodeFlagsOffset
Definition: v8-internal.h:1169
static const int kRegExpStaticResultOffsetsVectorSize
Definition: v8-internal.h:1014
static const int kLastEmbedderJSApiObjectType
Definition: v8-internal.h:1183
static const int kVariousBooleanFlagsOffset
Definition: v8-internal.h:1033
static constexpr std::optional< Address > TryIntegralToSmi(T value)
Definition: v8-internal.h:1248
static const int kNodeClassIdOffset
Definition: v8-internal.h:1168
static const int kStringRepresentationAndEncodingMask
Definition: v8-internal.h:1001
static const int kJSObjectHeaderSize
Definition: v8-internal.h:986
static const int kJSSpecialApiObjectType
Definition: v8-internal.h:1176
Definition: v8-internal.h:1566
StrongRootAllocatorBase(LocalIsolate *isolate)
Definition: v8-internal.h:1593
T value_type
Definition: v8-internal.h:1595
Definition: v8-internal.h:1776
static Address ValueAsAddress(const T *value)
Definition: v8-internal.h:1836
static T * ReprAsValue(InternalRepresentationType repr)
Definition: v8-internal.h:1852
internal::Address * InternalRepresentationType
Definition: v8-internal.h:1790
static T * SlotAsValue(S *slot)
Definition: v8-internal.h:1841
static T * HandleAsValue(const H< T, Ms... > &handle)
Definition: v8-internal.h:1804
static constexpr Address kTaggedNullAddress
Definition: v8-internal.h:1784
static InternalRepresentationType ValueAsRepr(const T *value)
Definition: v8-internal.h:1846
static bool IsEmpty(T *value)
Definition: v8-internal.h:1795
static constexpr InternalRepresentationType kEmpty
Definition: v8-internal.h:1791
Definition: v8-internal.h:1641
constexpr WrappedIterator & operator-=(difference_type n) noexcept
Definition: v8-internal.h:1753
constexpr WrappedIterator operator--(int) noexcept
Definition: v8-internal.h:1730
constexpr WrappedIterator & operator+=(difference_type n) noexcept
Definition: v8-internal.h:1745
constexpr const Iterator & base() const noexcept
Definition: v8-internal.h:1767
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::value_type, ElementType > value_type
Definition: v8-internal.h:1655
constexpr WrappedIterator & operator++() noexcept
Definition: v8-internal.h:1716
constexpr pointer operator->() const noexcept
Definition: v8-internal.h:1677
constexpr reference operator[](difference_type n) const noexcept
Definition: v8-internal.h:1762
typename std::iterator_traits< Iterator >::difference_type difference_type
Definition: v8-internal.h:1651
constexpr auto operator<=>(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1693
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:1663
constexpr WrappedIterator & operator--() noexcept
Definition: v8-internal.h:1726
constexpr WrappedIterator() noexcept=default
typename std::iterator_traits< Iterator >::iterator_category iterator_category
Definition: v8-internal.h:1665
constexpr reference operator*() const noexcept
Definition: v8-internal.h:1676
friend constexpr WrappedIterator operator+(difference_type n, const WrappedIterator &x) noexcept
Definition: v8-internal.h:1741
constexpr WrappedIterator operator++(int) noexcept
Definition: v8-internal.h:1720
constexpr WrappedIterator operator-(difference_type n) const noexcept
Definition: v8-internal.h:1749
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::pointer, std::add_pointer_t< ElementType > > pointer
Definition: v8-internal.h:1659
constexpr bool operator==(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1686
Definition: v8-internal.h:1610
Definition: v8-internal.h:1607
const intptr_t kHeapObjectTagMask
Definition: v8-internal.h:61
constexpr uint64_t kCppHeapPointerMarkBit
Definition: v8-internal.h:436
constexpr bool kRuntimeGeneratedCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:932
constexpr uint64_t kExternalPointerTagShift
Definition: v8-internal.h:385
const int kApiSystemPointerSize
Definition: v8-internal.h:51
constexpr const char * ToString(ExternalPointerTag tag)
Definition: v8-internal.h:767
constexpr bool SandboxIsEnabled()
Definition: v8-internal.h:206
const int kApiDoubleSize
Definition: v8-internal.h:52
constexpr size_t kMaxCppHeapPointers
Definition: v8-internal.h:462
constexpr intptr_t kIntptrAllBitsSet
Definition: v8-internal.h:79
constexpr int GB
Definition: v8-internal.h:43
void VerifyHandleIsNonEmpty(bool is_empty)
uint32_t TrustedPointerHandle
Definition: v8-internal.h:901
const int kApiInt32Size
Definition: v8-internal.h:53
const int kForwardingTagSize
Definition: v8-internal.h:68
uint32_t CppHeapPointerHandle
Definition: v8-internal.h:421
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:388
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:386
constexpr uint64_t kCppHeapPointerTagMask
Definition: v8-internal.h:439
constexpr int kTrustedPointerTableEntrySizeLog2
Definition: v8-internal.h:917
constexpr int kTrustedPointerTableEntrySize
Definition: v8-internal.h:916
constexpr uint64_t kCppHeapPointerPayloadShift
Definition: v8-internal.h:438
constexpr ExternalPointer_t kNullExternalPointer
Definition: v8-internal.h:413
Address ExternalPointer_t
Definition: v8-internal.h:410
constexpr CppHeapPointer_t kNullCppHeapPointer
Definition: v8-internal.h:433
const int kApiSizetSize
Definition: v8-internal.h:55
constexpr uint64_t kExternalPointerTagAndMarkbitMask
Definition: v8-internal.h:387
constexpr size_t kMaxExternalPointers
Definition: v8-internal.h:373
constexpr ExternalPointerTagRange kAnySharedManagedExternalPointerTagRange(kFirstSharedManagedExternalPointerTag, kLastSharedManagedExternalPointerTag)
constexpr size_t kWasmCodePointerTableReservationSize
Definition: v8-internal.h:928
constexpr TrustedPointerHandle kNullTrustedPointerHandle
Definition: v8-internal.h:913
const int kWeakHeapObjectTag
Definition: v8-internal.h:59
constexpr ExternalPointerHandle kNullExternalPointerHandle
Definition: v8-internal.h:414
constexpr ExternalPointerTagRange kAnyMaybeReadOnlyExternalPointerTagRange(kFirstMaybeReadOnlyExternalPointerTag, kLastMaybeReadOnlyExternalPointerTag)
constexpr ExternalPointerTag kFirstSharedManagedExternalPointerTag
Definition: v8-internal.h:825
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:919
bool ShouldThrowOnError(internal::Isolate *isolate)
constexpr uint64_t kCppHeapPointerTagShift
Definition: v8-internal.h:437
constexpr ExternalPointerTagRange kAnyInterceptorInfoExternalPointerTagRange(kFirstInterceptorInfoExternalPointerTag, kLastInterceptorInfoExternalPointerTag)
constexpr ExternalPointerTag kFirstManagedExternalPointerTag
Definition: v8-internal.h:808
constexpr int KB
Definition: v8-internal.h:41
constexpr bool kBuiltinCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:933
constexpr uint32_t kTrustedPointerHandleShift
Definition: v8-internal.h:910
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:685
@ kApiIndexedPropertyDescriptorCallbackTag
Definition: v8-internal.h:737
@ kFirstMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:711
@ kExternalPointerEvacuationEntryTag
Definition: v8-internal.h:758
@ kFirstSharedExternalPointerTag
Definition: v8-internal.h:697
@ kApiNamedPropertyDefinerCallbackTag
Definition: v8-internal.h:731
@ kLastSharedExternalPointerTag
Definition: v8-internal.h:699
@ kApiIndexedPropertySetterCallbackTag
Definition: v8-internal.h:736
@ kLastExternalPointerTag
Definition: v8-internal.h:761
@ kLastExternalTypeTag
Definition: v8-internal.h:715
@ kApiIndexedPropertyGetterCallbackTag
Definition: v8-internal.h:735
@ kApiNamedPropertyDescriptorCallbackTag
Definition: v8-internal.h:730
@ kAccessorInfoGetterTag
Definition: v8-internal.h:722
@ kApiIndexedPropertyDefinerCallbackTag
Definition: v8-internal.h:738
@ kFirstExternalTypeTag
Definition: v8-internal.h:714
@ kAccessorInfoSetterTag
Definition: v8-internal.h:723
@ kApiNamedPropertyDeleterCallbackTag
Definition: v8-internal.h:732
@ kApiNamedPropertyGetterCallbackTag
Definition: v8-internal.h:728
@ kApiNamedPropertySetterCallbackTag
Definition: v8-internal.h:729
@ kApiIndexedPropertyIndexOfCallbackTag
Definition: v8-internal.h:741
@ kApiIndexedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:740
@ kExternalPointerFreeEntryTag
Definition: v8-internal.h:759
@ kFirstInterceptorInfoExternalPointerTag
Definition: v8-internal.h:726
@ kExternalPointerNullTag
Definition: v8-internal.h:687
@ kExternalStringResourceDataTag
Definition: v8-internal.h:698
@ kWasmStackMemoryTag
Definition: v8-internal.h:753
@ kLastManagedResourceTag
Definition: v8-internal.h:755
@ kFastApiExternalTypeTag
Definition: v8-internal.h:720
@ kExternalPointerZappedEntryTag
Definition: v8-internal.h:757
@ kApiNamedPropertyQueryCallbackTag
Definition: v8-internal.h:727
@ kFirstEmbedderDataTag
Definition: v8-internal.h:706
@ kApiIndexedPropertyQueryCallbackTag
Definition: v8-internal.h:734
@ kApiIndexedPropertyDeleterCallbackTag
Definition: v8-internal.h:739
@ kLastInterceptorInfoExternalPointerTag
Definition: v8-internal.h:743
@ kNativeContextMicrotaskQueueTag
Definition: v8-internal.h:703
@ kLastMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:746
@ kLastEmbedderDataTag
Definition: v8-internal.h:707
@ kArrayBufferExtensionTag
Definition: v8-internal.h:754
@ kFirstExternalPointerTag
Definition: v8-internal.h:686
@ kApiNamedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:733
@ kFunctionTemplateInfoCallbackTag
Definition: v8-internal.h:721
@ kApiIndexedPropertyIterableToListCallbackTag
Definition: v8-internal.h:742
const int kSmiValueSize
Definition: v8-internal.h:191
constexpr ExternalPointerTag kLastSharedManagedExternalPointerTag
Definition: v8-internal.h:827
constexpr ExternalPointerTagRange kAnyForeignExternalPointerTagRange(kFirstForeignExternalPointerTag, kLastForeignExternalPointerTag)
constexpr bool SmiValuesAre32Bits()
Definition: v8-internal.h:195
constexpr ExternalPointerTag kLastManagedExternalPointerTag
Definition: v8-internal.h:810
TagRange< ExternalPointerTag > ExternalPointerTagRange
Definition: v8-internal.h:779
constexpr ExternalPointerTag kFirstForeignExternalPointerTag
Definition: v8-internal.h:798
uintptr_t Address
Definition: v8-internal.h:38
void PerformCastCheck(T *data)
Definition: v8-internal.h:1551
void PrintFunctionCallbackInfo(void *function_callback_info)
constexpr size_t kTrustedPointerTableReservationSize
Definition: v8-internal.h:906
uint32_t ExternalPointerHandle
Definition: v8-internal.h:402
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:934
const int kSmiTag
Definition: v8-internal.h:72
constexpr ExternalPointerTag kFirstManagedResourceTag
Definition: v8-internal.h:819
Address CppHeapPointer_t
Definition: v8-internal.h:430
constexpr CppHeapPointerHandle kNullCppHeapPointerHandle
Definition: v8-internal.h:434
constexpr int kGarbageCollectionReasonMaxValue
Definition: v8-internal.h:1562
const int kSmiMinValue
Definition: v8-internal.h:192
ManagedTypeId
Definition: v8-internal.h:597
@ kIcuBreakIteratorWithText
@ kTemporalPlainYearMonth
constexpr int MB
Definition: v8-internal.h:42
constexpr uint64_t kExternalPointerShiftedTagMask
Definition: v8-internal.h:390
constexpr uint64_t kExternalPointerMarkBit
Definition: v8-internal.h:384
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:800
Definition: libplatform.h:15
std::remove_reference_t< typename pointer::reference > element_type
Definition: v8-internal.h:1901
typename pointer::difference_type difference_type
Definition: v8-internal.h:1902
Definition: v8-internal.h:1535
static void Perform(T *data)
Definition: v8-internal.h:943
Address * next
Definition: v8-internal.h:947
int level
Definition: v8-internal.h:949
Address * limit
Definition: v8-internal.h:948
int sealed_level
Definition: v8-internal.h:950
static constexpr uint32_t kSizeInBytes
Definition: v8-internal.h:944
void Initialize()
Definition: v8-internal.h:952
typename Iterator::iterator_concept iterator_concept
Definition: v8-internal.h:1621
Definition: v8-internal.h:1617
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:536
constexpr size_t Size() const
Definition: v8-internal.h:563
constexpr bool IsEmpty() const
Definition: v8-internal.h:561
Tag last
Definition: v8-internal.h:594
Tag first
Definition: v8-internal.h:593
constexpr bool operator==(const TagRange other) const
Definition: v8-internal.h:583
constexpr bool Contains(Tag tag) const
Definition: v8-internal.h:571
constexpr TagRange()
Definition: v8-internal.h:558
constexpr TagRange(Tag tag)
Definition: v8-internal.h:554
constexpr size_t hash_value() const
Definition: v8-internal.h:587
constexpr TagRange(Tag first, Tag last)
Definition: v8-internal.h:542
constexpr bool Contains(TagRange tag_range) const
Definition: v8-internal.h:579
#define FOREIGN_TAG_LIST(V)
Definition: v8-internal.h:635
#define AS_ENUM(name)
Definition: v8-internal.h:748
#define V8_EXTERNAL_POINTER_TAG_COUNT
Definition: v8-internal.h:474
#define MANAGED_TAG_LIST(V)
Definition: v8-internal.h:624
#define SHARED_MANAGED_TAG_LIST(V)
Definition: v8-internal.h:622
#define GET_FIRST(LIST)
Definition: v8-internal.h:783
#define V8_EMBEDDER_DATA_TAG_COUNT
Definition: v8-internal.h:469
#define GET_LAST(LIST)
Definition: v8-internal.h:789
#define V8_EXPORT
Definition: v8config.h:875
#define V8_INLINE
Definition: v8config.h:519
#define V8_LIKELY(condition)
Definition: v8config.h:679