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;
586#define SHARED_MANAGED_TAG_LIST(V) V(WasmFutexManagedObjectWaitListTag)
588#define MANAGED_TAG_LIST(V) \
589 SHARED_MANAGED_TAG_LIST(V) \
590 V(GenericManagedTag) \
591 V(WasmNativeModuleTag) \
593 V(IcuBreakIteratorTag) \
594 V(IcuListFormatterTag) \
596 V(IcuSimpleDateFormatTag) \
597 V(IcuDateIntervalFormatTag) \
598 V(IcuRelativeDateTimeFormatterTag) \
599 V(IcuLocalizedNumberFormatterTag) \
600 V(IcuPluralRulesTag) \
602 V(IcuBreakIteratorWithTextTag) \
603 V(TemporalDurationTag) \
604 V(TemporalInstantTag) \
605 V(TemporalPlainDateTag) \
606 V(TemporalPlainTimeTag) \
607 V(TemporalPlainDateTimeTag) \
608 V(TemporalPlainYearMonthTag) \
609 V(TemporalPlainMonthDayTag) \
610 V(TemporalZonedDateTimeTag) \
611 V(DisplayNamesInternalTag) \
613 V(D8ModuleEmbedderDataTag)
615#define FOREIGN_TAG_LIST(V) \
616 V(GenericForeignTag) \
617 V(ApiAccessCheckCallbackTag) \
618 V(ApiAbortScriptExecutionCallbackTag) \
619 V(ApiTemporalHostSystemUTCEpochNanosecondsCallbackTag) \
621 V(SyntheticModuleTag) \
622 V(MicrotaskCallbackTag) \
623 V(MicrotaskCallbackDataTag) \
624 V(MessageListenerTag) \
625 V(WaiterQueueForeignTag) \
737#define AS_ENUM(name) k##name,
756#define ENUM_CASE(name) \
757 case ExternalPointerTag::k##name: \
764 return "Unknown tag";
770#define AS_LIST(name) ExternalPointerTag::k##name,
772#define GET_FIRST(LIST) \
774 ExternalPointerTag items[] = {LIST(AS_LIST)}; \
778#define GET_LAST(LIST) \
780 ExternalPointerTag items[] = {LIST(AS_LIST)}; \
781 return items[(sizeof(items) / sizeof(items[0])) - 1]; \
828V8_INLINE static constexpr bool IsSharedExternalPointerType(
835 return kAnySharedExternalPointerTagRange.Contains(tag_range) ||
842V8_INLINE static constexpr bool IsMaybeReadOnlyExternalPointerType(
851V8_INLINE static constexpr bool IsManagedExternalPointerType(
863V8_INLINE static constexpr bool ExternalPointerCanBeEmpty(
929 "kTrustedPointerTableReservationSize and "
930 "kTrustedPointerHandleShift don't match");
948 "Use GetCurrentIsolate() instead, which is guaranteed to return the same "
949 "isolate since https://crrev.com/c/6458560.")
958 static constexpr uint32_t kSizeInBytes =
967 next = limit =
nullptr;
968 sealed_level = level = 0;
983 return mapword ^ kMapWordXorMask;
997#ifdef V8_COMPRESS_POINTERS
1007#if defined(V8_COMPRESS_POINTERS) && !defined(V8_ENABLE_SANDBOX)
1084#ifdef V8_COMPRESS_POINTERS
1085 static const int kIsolateExternalPointerTableOffset =
1087 static const int kIsolateSharedExternalPointerTableAddressOffset =
1089 static const int kIsolateCppHeapPointerTableOffset =
1091#ifdef V8_ENABLE_SANDBOX
1092 static const int kIsolateTrustedCageBaseOffset =
1094 static const int kIsolateTrustedPointerTableOffset =
1096 static const int kIsolateSharedTrustedPointerTableAddressOffset =
1098 static const int kIsolateTrustedPointerPublishingScopeOffset =
1123#if V8_TARGET_ARCH_PPC64
1129#if V8_TARGET_ARCH_ARM64
1145#if V8_STATIC_ROOTS_BOOL
1148#define EXPORTED_STATIC_ROOTS_PTR_LIST(V) \
1149 V(UndefinedValue, 0x11) \
1150 V(NullValue, 0x2d) \
1151 V(TrueValue, 0x71) \
1152 V(FalseValue, 0x55) \
1153 V(EmptyString, 0x49) \
1156 V(TheHoleValue, kBuildDependentTheHoleValue)
1158 using Tagged_t = uint32_t;
1159 struct StaticReadOnlyRoot {
1160#ifdef V8_ENABLE_WEBASSEMBLY
1161 static constexpr Tagged_t kBuildDependentTheHoleValue = 0x2fffd;
1163 static constexpr Tagged_t kBuildDependentTheHoleValue = 0xfffd;
1166#define DEF_ROOT(name, value) static constexpr Tagged_t k##name = value;
1167 EXPORTED_STATIC_ROOTS_PTR_LIST(DEF_ROOT)
1171 static constexpr Tagged_t kStringMapLowerBound = 0;
1172 static constexpr Tagged_t kStringMapUpperBound = 0x425;
1174#define PLUSONE(...) +1
1175 static constexpr size_t kNumberOfExportedStaticRoots =
1176 2 + EXPORTED_STATIC_ROOTS_PTR_LIST(PLUSONE);
1220#ifdef V8_MAP_PACKING
1221 static const uintptr_t kMapWordMetadataMask = 0xffffULL << 48;
1223 static const uintptr_t kMapWordSignature = 0b10;
1228 static const int kMapWordXorMask = 0b11;
1233#ifdef V8_ENABLE_CHECKS
1243 return PlatformSmiTagging::SmiToInt(value);
1255 template <
typename T,
1256 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1261 template <
typename T,
1262 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1264 return PlatformSmiTagging::IsValidSmi(value);
1267 template <
typename T,
1268 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1270 if (
V8_LIKELY(PlatformSmiTagging::IsValidSmi(value))) {
1276#if V8_STATIC_ROOTS_BOOL
1278 return static_cast<Tagged_t
>(obj) == constant;
1281 V8_INLINE static bool CheckInstanceMapRange(
Address obj, Tagged_t first_map,
1282 Tagged_t last_map) {
1284#ifdef V8_MAP_PACKING
1285 map = UnpackMapWord(map);
1287 return map >= first_map && map <= last_map;
1293#ifdef V8_MAP_PACKING
1294 map = UnpackMapWord(map);
1302#ifdef V8_MAP_PACKING
1303 map = UnpackMapWord(map);
1329 (
static_cast<unsigned>(
static_cast<unsigned>(instance_type) -
1336 return *addr &
static_cast<uint8_t
>(1U << shift);
1341 uint8_t mask =
static_cast<uint8_t
>(1U << shift);
1342 *addr =
static_cast<uint8_t
>((*addr & ~mask) | (value << shift));
1352 *addr =
static_cast<uint8_t
>((*addr & ~kNodeStateMask) | value);
1359 *
reinterpret_cast<void**
>(addr) = data;
1366 return *
reinterpret_cast<void* const*
>(addr);
1378 ++(*
reinterpret_cast<size_t*
>(addr));
1384 return reinterpret_cast<Address*
>(addr);
1388#if V8_STATIC_ROOTS_BOOL
1392#define DECOMPRESS_ROOT(name, ...) \
1393 case k##name##RootIndex: \
1394 return base + StaticReadOnlyRoot::k##name;
1395 EXPORTED_STATIC_ROOTS_PTR_LIST(DECOMPRESS_ROOT)
1396#undef DECOMPRESS_ROOT
1397#undef EXPORTED_STATIC_ROOTS_PTR_LIST
1405#ifdef V8_ENABLE_SANDBOX
1408 kIsolateExternalPointerTableOffset +
1410 return *
reinterpret_cast<Address**
>(addr);
1416 kIsolateSharedExternalPointerTableAddressOffset;
1417 addr = *
reinterpret_cast<Address*
>(addr);
1419 return *
reinterpret_cast<Address**
>(addr);
1423 template <
typename T>
1426#ifdef V8_COMPRESS_POINTERS
1433 memcpy(&r,
reinterpret_cast<void*
>(addr),
sizeof(T));
1437 return *
reinterpret_cast<const T*
>(addr);
1442#ifdef V8_COMPRESS_POINTERS
1443 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1444 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1445 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1447 return ReadRawField<Address>(heap_object_ptr, offset);
1453#ifdef V8_COMPRESS_POINTERS
1454 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1455 return static_cast<Address>(
static_cast<uintptr_t
>(value));
1457 return ReadRawField<Address>(heap_object_ptr, offset);
1466#ifdef V8_ENABLE_SANDBOX
1474 template <ExternalPo
interTagRange tag_range>
1478#ifdef V8_ENABLE_SANDBOX
1479 static_assert(!tag_range.IsEmpty());
1482 Address* table = IsSharedExternalPointerType(tag_range)
1483 ? GetSharedExternalPointerTableBase(isolate)
1484 : GetExternalPointerTableBase(isolate);
1486 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1487 uint32_t index = handle >> kExternalPointerIndexShift;
1488 std::atomic<Address>* ptr =
1489 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1490 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1494 if (
V8_LIKELY(tag_range.Contains(actual_tag))) {
1501 return ReadRawField<Address>(heap_object_ptr, offset);
1508#ifdef V8_ENABLE_SANDBOX
1511 Address* table = IsSharedExternalPointerType(tag_range)
1512 ? GetSharedExternalPointerTableBase(isolate)
1513 : GetExternalPointerTableBase(isolate);
1515 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1516 uint32_t index = handle >> kExternalPointerIndexShift;
1517 std::atomic<Address>* ptr =
1518 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1519 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1531 return ReadRawField<Address>(heap_object_ptr, offset);
1535#ifdef V8_COMPRESS_POINTERS
1537 return addr & -
static_cast<intptr_t
>(kPtrComprCageBaseAlignment);
1541 return static_cast<uint32_t
>(value);
1546 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1547 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1555template <
bool PerformCheck>
1573 CastCheck<std::is_base_of_v<Data, T> &&
1574 !std::is_same_v<Data, std::remove_cv_t<T>>>::Perform(data);
1589 Heap* heap()
const {
return heap_; }
1601 Address* allocate_impl(
size_t n);
1602 void deallocate_impl(
Address* p,
size_t n)
noexcept;
1613template <
typename T>
1618 template <
typename HeapOrIsolateT>
1620 template <
typename U>
1623 using std::allocator<T>::allocate;
1624 using std::allocator<T>::deallocate;
1627template <
typename Iterator>
1630template <
typename Iterator>
1632 requires {
typename Iterator::iterator_category; };
1637template <
typename Iterator>
1640template <HasIteratorConcept Iterator>
1642 using iterator_concept =
typename Iterator::iterator_concept;
1645template <
typename Iterator>
1649 typename std::iterator_traits<Iterator>::iterator_concept;
1652template <
typename T>
1654 using iterator_concept = std::contiguous_iterator_tag;
1661template <
typename Iterator,
typename ElementType =
void>
1665 std::is_void_v<ElementType> ||
1666 (std::is_convertible_v<typename std::iterator_traits<Iterator>::pointer,
1667 std::add_pointer_t<ElementType>> &&
1668 std::is_convertible_v<typename std::iterator_traits<Iterator>::reference,
1669 std::add_lvalue_reference_t<ElementType>>));
1672 typename std::iterator_traits<Iterator>::difference_type;
1674 std::conditional_t<std::is_void_v<ElementType>,
1675 typename std::iterator_traits<Iterator>::value_type,
1678 std::conditional_t<std::is_void_v<ElementType>,
1679 typename std::iterator_traits<Iterator>::pointer,
1680 std::add_pointer_t<ElementType>>;
1682 std::conditional_t<std::is_void_v<ElementType>,
1683 typename std::iterator_traits<Iterator>::reference,
1684 std::add_lvalue_reference_t<ElementType>>;
1686 typename std::iterator_traits<Iterator>::iterator_category;
1691 template <
typename OtherIterator,
typename OtherElementType>
1692 requires std::is_convertible_v<OtherIterator, Iterator>
1695 : it_(other.base()) {}
1699 if constexpr (std::is_pointer_v<Iterator>) {
1702 return it_.operator->();
1706 template <
typename OtherIterator,
typename OtherElementType>
1708 const WrappedIterator<OtherIterator, OtherElementType>& other)
1710 return it_ == other.base();
1713 template <
typename OtherIterator,
typename OtherElementType>
1717 if constexpr (std::three_way_comparable_with<Iterator, OtherIterator>) {
1718 return it_ <=> other.base();
1719 }
else if constexpr (std::totally_ordered_with<Iterator, OtherIterator>) {
1720 if (it_ < other.base()) {
1721 return std::strong_ordering::less;
1723 return (it_ > other.base()) ? std::strong_ordering::greater
1724 : std::strong_ordering::equal;
1726 if (it_ < other.base()) {
1727 return std::partial_ordering::less;
1729 if (other.base() < it_) {
1730 return std::partial_ordering::greater;
1732 return (it_ == other.base()) ? std::partial_ordering::equivalent
1733 : std::partial_ordering::unordered;
1777 template <
typename OtherIterator,
typename OtherElementType>
1781 return it_ - other.base();
1788 [[nodiscard]]
constexpr const Iterator&
base() const noexcept {
return it_; }
1805#ifdef V8_ENABLE_DIRECT_HANDLE
1806 static constexpr Address kTaggedNullAddress = 1;
1815 template <
typename T>
1823 template <
template <
typename T,
typename... Ms>
typename H,
typename T,
1826 return handle.template value<T>();
1829#ifdef V8_ENABLE_DIRECT_HANDLE
1831 template <
typename T>
1833 return reinterpret_cast<Address>(value);
1836 template <
typename T,
bool check_null = true,
typename S>
1838 if (check_null && slot ==
nullptr) {
1839 return reinterpret_cast<T*
>(kTaggedNullAddress);
1841 return *
reinterpret_cast<T**
>(slot);
1844 template <
typename T>
1849 template <
typename T>
1851 return reinterpret_cast<T*
>(repr);
1856 template <
typename T>
1861 template <
typename T,
bool check_null = true,
typename S>
1863 return reinterpret_cast<T*
>(slot);
1866 template <
typename T>
1872 template <
typename T>
1874 return reinterpret_cast<T*
>(repr);
1895 template <
typename T1,
typename T2>
1897 if (lhs.IsEmpty())
return rhs.IsEmpty();
1898 if (rhs.IsEmpty())
return false;
1899 return lhs.ptr() == rhs.ptr();
Definition: v8-isolate.h:292
Definition: v8-internal.h:1575
Definition: v8-internal.h:1879
static bool EqualHandles(const T1 &lhs, const T2 &rhs)
Definition: v8-internal.h:1892
static Address LoadMap(Address obj)
Definition: v8-internal.h:1295
static constexpr size_t kExternalAllocationSoftLimit
Definition: v8-internal.h:1214
static bool IsExternalTwoByteString(int instance_type)
Definition: v8-internal.h:1308
static const int kIsolateCageBaseOffset
Definition: v8-internal.h:1041
static const int kEmbedderDataArrayHeaderSize
Definition: v8-internal.h:1001
static const int kHeapObjectMapOffset
Definition: v8-internal.h:986
static const int kEmbedderDataSlotSize
Definition: v8-internal.h:1002
static const int kIsolateApiCallbackThunkArgumentOffset
Definition: v8-internal.h:1106
static Address ReadExternalPointerField(v8::Isolate *isolate, Address heap_object_ptr, int offset)
Definition: v8-internal.h:1471
static const int kJSAPIObjectWithEmbedderSlotsHeaderSize
Definition: v8-internal.h:997
static constexpr bool HasHeapObjectTag(Address value)
Definition: v8-internal.h:1234
static const int kIsolateHandleScopeImplementerOffset
Definition: v8-internal.h:1076
static const int kOddballType
Definition: v8-internal.h:1191
static const int kInferShouldThrowMode
Definition: v8-internal.h:1210
static const int kNewAllocationInfoOffset
Definition: v8-internal.h:1053
static Address GetRoot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1383
static const int kStringEncodingMask
Definition: v8-internal.h:1010
static const int kIsolateFastCCallCallerPcOffset
Definition: v8-internal.h:1063
static uint8_t GetNodeFlag(Address *obj, int shift)
Definition: v8-internal.h:1330
static const int kIsolateThreadLocalTopOffset
Definition: v8-internal.h:1072
static const uint32_t kNumIsolateDataSlots
Definition: v8-internal.h:1017
static const int kForeignType
Definition: v8-internal.h:1192
static const int kFirstEmbedderJSApiObjectType
Definition: v8-internal.h:1199
static const int kNumberOfBooleanFlags
Definition: v8-internal.h:1019
static uint8_t GetNodeState(Address *obj)
Definition: v8-internal.h:1341
static const int kThreadLocalTopSize
Definition: v8-internal.h:1026
static const int kIsolateRootsOffset
Definition: v8-internal.h:1116
static const int kFrameTypeApiCallExit
Definition: v8-internal.h:1132
static const int kUndefinedOddballKind
Definition: v8-internal.h:1203
static const int kMapInstanceTypeOffset
Definition: v8-internal.h:987
static constexpr Address AddressToSmi(Address value)
Definition: v8-internal.h:1242
static const int kIsolateStackGuardOffset
Definition: v8-internal.h:1042
static const int kLinearAllocationAreaSize
Definition: v8-internal.h:1025
static const int kFastCCallAlignmentPaddingSize
Definition: v8-internal.h:1060
static const int kDisallowGarbageCollectionAlign
Definition: v8-internal.h:1138
static const int kIsolateFastCCallCallerFpOffset
Definition: v8-internal.h:1066
static const int kErrorMessageParamSize
Definition: v8-internal.h:1020
static const int kSegmentedTableSegmentPoolSize
Definition: v8-internal.h:1035
static void CheckInitialized(v8::Isolate *isolate)
Definition: v8-internal.h:1228
static void UpdateNodeState(Address *obj, uint8_t value)
Definition: v8-internal.h:1346
static constexpr Address IntegralToSmi(T value)
Definition: v8-internal.h:1253
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:1259
static const int kJSObjectType
Definition: v8-internal.h:1194
static const int kExternalEntityTableBasePointerOffset
Definition: v8-internal.h:1034
static const int kBuiltinTier0TableOffset
Definition: v8-internal.h:1051
static const int kIsolateLongTaskStatsCounterOffset
Definition: v8-internal.h:1070
static const int kNativeContextEmbedderDataOffset
Definition: v8-internal.h:1008
static const int kLastJSApiObjectType
Definition: v8-internal.h:1196
static constexpr bool CanHaveInternalField(int instance_type)
Definition: v8-internal.h:1318
static constexpr int kSPAlignmentSlotCount
Definition: v8-internal.h:1129
static const int kIsolateHandleScopeDataOffset
Definition: v8-internal.h:1074
static const int kFirstNonstringType
Definition: v8-internal.h:1190
static const int kEmptyStringRootIndex
Definition: v8-internal.h:1183
static const int kBuiltinTier0EntryTableOffset
Definition: v8-internal.h:1048
static const int kFrameTypeApiIndexedAccessorExit
Definition: v8-internal.h:1135
static const int kFixedArrayHeaderSize
Definition: v8-internal.h:1000
static const int kNullOddballKind
Definition: v8-internal.h:1204
static const int kUndefinedValueRootIndex
Definition: v8-internal.h:1178
static const int kExternalTwoByteRepresentationTag
Definition: v8-internal.h:1011
static constexpr Address IntToSmi(int value)
Definition: v8-internal.h:1247
static const int kDontThrow
Definition: v8-internal.h:1208
static void CheckInitializedImpl(v8::Isolate *isolate)
static void * GetEmbedderData(const v8::Isolate *isolate, uint32_t slot)
Definition: v8-internal.h:1358
static const int kStackGuardSize
Definition: v8-internal.h:1018
static const int kNodeStateMask
Definition: v8-internal.h:1187
static HandleScopeData * GetHandleScopeData(v8::Isolate *isolate)
Definition: v8-internal.h:1365
static const int kNodeStateIsWeakValue
Definition: v8-internal.h:1188
static const int kFirstJSApiObjectType
Definition: v8-internal.h:1195
static const int kStringResourceOffset
Definition: v8-internal.h:988
static bool IsExternalOneByteString(int instance_type)
Definition: v8-internal.h:1313
static const int kErrorMessageParamOffset
Definition: v8-internal.h:1046
static const int kCurrentMicrotaskNativeContextOffset
Definition: v8-internal.h:1114
static const int kFalseValueRootIndex
Definition: v8-internal.h:1182
static const int kIsolateRegexpExecVectorArgumentOffset
Definition: v8-internal.h:1108
static const int kIsolateFastApiCallTargetOffset
Definition: v8-internal.h:1068
static const int kTrueValueRootIndex
Definition: v8-internal.h:1181
static int GetInstanceType(Address obj)
Definition: v8-internal.h:1287
static const int kThrowOnError
Definition: v8-internal.h:1209
static Address ReadTaggedSignedField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1447
static const int kOddballKindOffset
Definition: v8-internal.h:991
static const int kBuiltinTier0TableSize
Definition: v8-internal.h:1024
static const int kExternalEntityTableSize
Definition: v8-internal.h:1036
static const int kFrameTypeApiConstructExit
Definition: v8-internal.h:1133
static const int kContinuationPreservedEmbedderDataOffset
Definition: v8-internal.h:1110
static const int kHandleScopeImplementerSize
Definition: v8-internal.h:1029
static const int kLastYoungAllocationOffset
Definition: v8-internal.h:1057
static const int kCurrentMicrotaskQueueOffset
Definition: v8-internal.h:1112
static Address ReadTaggedPointerField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1436
static const int kFrameTypeApiNamedAccessorExit
Definition: v8-internal.h:1134
static const int kNullValueRootIndex
Definition: v8-internal.h:1180
static void SetEmbedderData(v8::Isolate *isolate, uint32_t slot, void *data)
Definition: v8-internal.h:1351
static Address * GetRootSlot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1377
static const int kIsolateJSDispatchTableOffset
Definition: v8-internal.h:1103
static const int kTheHoleValueRootIndex
Definition: v8-internal.h:1179
static constexpr int SmiValue(Address value)
Definition: v8-internal.h:1238
static const int kTablesAlignmentPaddingSize
Definition: v8-internal.h:1021
static const int kHandleScopeDataSize
Definition: v8-internal.h:1027
static const int kExternalOneByteRepresentationTag
Definition: v8-internal.h:1012
static const int kBuiltinTier0EntryTableSize
Definition: v8-internal.h:1023
static void UpdateNodeFlag(Address *obj, bool value, int shift)
Definition: v8-internal.h:1335
static const int kCallbackInfoDataOffset
Definition: v8-internal.h:1015
static void IncrementLongTasksStatsCounter(v8::Isolate *isolate)
Definition: v8-internal.h:1371
static const int kDisallowGarbageCollectionSize
Definition: v8-internal.h:1139
static const int kOldAllocationInfoOffset
Definition: v8-internal.h:1055
static const int kIsolateEmbedderDataOffset
Definition: v8-internal.h:1078
static T ReadRawField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1420
static v8::Isolate * GetCurrentIsolate()
static constexpr int kFrameCPSlotCount
Definition: v8-internal.h:1122
static const int kEmbedderDataSlotExternalPointerOffset
Definition: v8-internal.h:1006
static v8::Isolate * GetCurrentIsolateForSandbox()
Definition: v8-internal.h:1461
static int GetOddballKind(Address obj)
Definition: v8-internal.h:1304
static const int kNodeFlagsOffset
Definition: v8-internal.h:1186
static const int kRegExpStaticResultOffsetsVectorSize
Definition: v8-internal.h:1022
static const int kLastEmbedderJSApiObjectType
Definition: v8-internal.h:1200
static const int kVariousBooleanFlagsOffset
Definition: v8-internal.h:1044
static constexpr std::optional< Address > TryIntegralToSmi(T value)
Definition: v8-internal.h:1265
static const int kNodeClassIdOffset
Definition: v8-internal.h:1185
static const int kStringRepresentationAndEncodingMask
Definition: v8-internal.h:1009
static const int kJSObjectHeaderSize
Definition: v8-internal.h:992
static const int kJSSpecialApiObjectType
Definition: v8-internal.h:1193
Definition: v8-internal.h:1583
StrongRootAllocatorBase(LocalIsolate *isolate)
Definition: v8-internal.h:1610
T value_type
Definition: v8-internal.h:1612
Definition: v8-internal.h:1793
static Address ValueAsAddress(const T *value)
Definition: v8-internal.h:1853
static T * ReprAsValue(InternalRepresentationType repr)
Definition: v8-internal.h:1869
internal::Address * InternalRepresentationType
Definition: v8-internal.h:1807
static T * SlotAsValue(S *slot)
Definition: v8-internal.h:1858
static T * HandleAsValue(const H< T, Ms... > &handle)
Definition: v8-internal.h:1821
static InternalRepresentationType ValueAsRepr(const T *value)
Definition: v8-internal.h:1863
static bool IsEmpty(T *value)
Definition: v8-internal.h:1812
static constexpr InternalRepresentationType kEmpty
Definition: v8-internal.h:1808
Definition: v8-internal.h:1658
constexpr WrappedIterator & operator-=(difference_type n) noexcept
Definition: v8-internal.h:1770
constexpr WrappedIterator operator--(int) noexcept
Definition: v8-internal.h:1747
constexpr WrappedIterator & operator+=(difference_type n) noexcept
Definition: v8-internal.h:1762
constexpr const Iterator & base() const noexcept
Definition: v8-internal.h:1784
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::value_type, ElementType > value_type
Definition: v8-internal.h:1672
constexpr WrappedIterator & operator++() noexcept
Definition: v8-internal.h:1733
constexpr pointer operator->() const noexcept
Definition: v8-internal.h:1694
constexpr reference operator[](difference_type n) const noexcept
Definition: v8-internal.h:1779
typename std::iterator_traits< Iterator >::difference_type difference_type
Definition: v8-internal.h:1668
constexpr auto operator<=>(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1710
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:1680
constexpr WrappedIterator & operator--() noexcept
Definition: v8-internal.h:1743
constexpr WrappedIterator() noexcept=default
typename std::iterator_traits< Iterator >::iterator_category iterator_category
Definition: v8-internal.h:1682
constexpr reference operator*() const noexcept
Definition: v8-internal.h:1693
friend constexpr WrappedIterator operator+(difference_type n, const WrappedIterator &x) noexcept
Definition: v8-internal.h:1758
constexpr WrappedIterator operator++(int) noexcept
Definition: v8-internal.h:1737
constexpr WrappedIterator operator-(difference_type n) const noexcept
Definition: v8-internal.h:1766
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::pointer, std::add_pointer_t< ElementType > > pointer
Definition: v8-internal.h:1676
constexpr bool operator==(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1703
Definition: v8-internal.h:1627
Definition: v8-internal.h:1624
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:935
internal::Isolate * IsolateFromNeverReadOnlySpaceObject(Address obj)
constexpr uint64_t kExternalPointerTagShift
Definition: v8-internal.h:370
IndirectPointerHandle TrustedPointerHandle
Definition: v8-internal.h:903
const int kApiSystemPointerSize
Definition: v8-internal.h:51
constexpr const char * ToString(ExternalPointerTag tag)
Definition: v8-internal.h:752
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:920
constexpr int kTrustedPointerTableEntrySize
Definition: v8-internal.h:919
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:883
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:931
constexpr TrustedPointerHandle kNullTrustedPointerHandle
Definition: v8-internal.h:915
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:810
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:922
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:793
constexpr int KB
Definition: v8-internal.h:41
constexpr bool kBuiltinCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:936
constexpr uint32_t kTrustedPointerHandleShift
Definition: v8-internal.h:912
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:673
@ kApiIndexedPropertyDescriptorCallbackTag
Definition: v8-internal.h:724
@ kFirstMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:707
@ kExternalPointerEvacuationEntryTag
Definition: v8-internal.h:746
@ kFirstSharedExternalPointerTag
Definition: v8-internal.h:685
@ kApiNamedPropertyDefinerCallbackTag
Definition: v8-internal.h:718
@ kLastSharedExternalPointerTag
Definition: v8-internal.h:689
@ kApiIndexedPropertySetterCallbackTag
Definition: v8-internal.h:723
@ kLastExternalPointerTag
Definition: v8-internal.h:749
@ kLastExternalTypeTag
Definition: v8-internal.h:701
@ kApiIndexedPropertyGetterCallbackTag
Definition: v8-internal.h:722
@ kApiNamedPropertyDescriptorCallbackTag
Definition: v8-internal.h:717
@ kAccessorInfoGetterTag
Definition: v8-internal.h:709
@ kApiIndexedPropertyDefinerCallbackTag
Definition: v8-internal.h:725
@ kFirstExternalTypeTag
Definition: v8-internal.h:700
@ kExternalStringResourceTag
Definition: v8-internal.h:687
@ kAccessorInfoSetterTag
Definition: v8-internal.h:710
@ kApiNamedPropertyDeleterCallbackTag
Definition: v8-internal.h:719
@ kApiNamedPropertyGetterCallbackTag
Definition: v8-internal.h:715
@ kApiNamedPropertySetterCallbackTag
Definition: v8-internal.h:716
@ kApiIndexedPropertyIndexOfCallbackTag
Definition: v8-internal.h:728
@ kApiIndexedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:727
@ kExternalPointerFreeEntryTag
Definition: v8-internal.h:747
@ kFirstInterceptorInfoExternalPointerTag
Definition: v8-internal.h:713
@ kWaiterQueueNodeTag
Definition: v8-internal.h:686
@ kExternalPointerNullTag
Definition: v8-internal.h:675
@ kExternalStringResourceDataTag
Definition: v8-internal.h:688
@ kWasmStackMemoryTag
Definition: v8-internal.h:735
@ kLastManagedResourceTag
Definition: v8-internal.h:743
@ kFastApiExternalTypeTag
Definition: v8-internal.h:706
@ kExternalPointerZappedEntryTag
Definition: v8-internal.h:745
@ kApiNamedPropertyQueryCallbackTag
Definition: v8-internal.h:714
@ kFirstEmbedderDataTag
Definition: v8-internal.h:696
@ kApiIndexedPropertyQueryCallbackTag
Definition: v8-internal.h:721
@ kApiIndexedPropertyDeleterCallbackTag
Definition: v8-internal.h:726
@ kLastInterceptorInfoExternalPointerTag
Definition: v8-internal.h:730
@ kNativeContextMicrotaskQueueTag
Definition: v8-internal.h:693
@ kLastMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:733
@ kLastEmbedderDataTag
Definition: v8-internal.h:697
@ kArrayBufferExtensionTag
Definition: v8-internal.h:742
@ kFirstExternalPointerTag
Definition: v8-internal.h:674
@ kApiNamedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:720
@ kFunctionTemplateInfoCallbackTag
Definition: v8-internal.h:708
@ kApiIndexedPropertyIterableToListCallbackTag
Definition: v8-internal.h:729
const int kSmiValueSize
Definition: v8-internal.h:191
constexpr ExternalPointerTag kLastSharedManagedExternalPointerTag
Definition: v8-internal.h:812
constexpr ExternalPointerTagRange kAnyForeignExternalPointerTagRange(kFirstForeignExternalPointerTag, kLastForeignExternalPointerTag)
constexpr bool SmiValuesAre32Bits()
Definition: v8-internal.h:195
constexpr ExternalPointerTag kLastManagedExternalPointerTag
Definition: v8-internal.h:795
TagRange< ExternalPointerTag > ExternalPointerTagRange
Definition: v8-internal.h:764
constexpr ExternalPointerTag kFirstForeignExternalPointerTag
Definition: v8-internal.h:783
constexpr IndirectPointerHandle kNullIndirectPointerHandle
Definition: v8-internal.h:886
uintptr_t Address
Definition: v8-internal.h:38
void PerformCastCheck(T *data)
Definition: v8-internal.h:1568
void PrintFunctionCallbackInfo(void *function_callback_info)
constexpr size_t kTrustedPointerTableReservationSize
Definition: v8-internal.h:908
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:937
const int kSmiTag
Definition: v8-internal.h:72
constexpr ExternalPointerTag kFirstManagedResourceTag
Definition: v8-internal.h:804
Address CppHeapPointer_t
Definition: v8-internal.h:414
constexpr CppHeapPointerHandle kNullCppHeapPointerHandle
Definition: v8-internal.h:418
constexpr int kGarbageCollectionReasonMaxValue
Definition: v8-internal.h:1579
const int kSmiMinValue
Definition: v8-internal.h:192
ManagedTypeId
Definition: v8-internal.h:578
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:785
Definition: libplatform.h:15
Definition: v8-internal.h:1552
static void Perform(T *data)
Definition: v8-internal.h:953
static constexpr uint32_t kSizeInBytes
Definition: v8-internal.h:954
typename Iterator::iterator_concept iterator_concept
Definition: v8-internal.h:1638
Definition: v8-internal.h:1634
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:615
#define AS_ENUM(name)
Definition: v8-internal.h:737
#define V8_EXTERNAL_POINTER_TAG_COUNT
Definition: v8-internal.h:458
#define MANAGED_TAG_LIST(V)
Definition: v8-internal.h:588
#define SHARED_MANAGED_TAG_LIST(V)
Definition: v8-internal.h:586
#define GET_FIRST(LIST)
Definition: v8-internal.h:768
#define V8_EMBEDDER_DATA_TAG_COUNT
Definition: v8-internal.h:453
#define GET_LAST(LIST)
Definition: v8-internal.h:774
#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