5#ifndef INCLUDE_V8_INTERNAL_H_
6#define INCLUDE_V8_INTERNAL_H_
23#if __has_include(<version>)
26#if defined(__cpp_lib_three_way_comparison) && \
27 __cpp_lib_three_way_comparison >= 201711L && \
28 defined(__cpp_lib_concepts) && __cpp_lib_concepts >= 202002L
32#define V8_HAVE_SPACESHIP_OPERATOR 1
34#define V8_HAVE_SPACESHIP_OPERATOR 0
53static constexpr Address kNullAddress = 0;
55constexpr int KB = 1024;
56constexpr int MB =
KB * 1024;
57constexpr int GB =
MB * 1024;
58#ifdef V8_TARGET_ARCH_X64
59constexpr size_t TB =
size_t{
GB} * 1024;
90template <
size_t tagged_ptr_size>
109 return static_cast<int32_t
>(
static_cast<uint32_t
>(value)) >> shift_bits;
112 template <
class T,
typename std::enable_if_t<std::is_
integral_v<T> &&
113 std::is_
signed_v<T>>* =
nullptr>
118 return (
static_cast<uintptr_t
>(value) -
125 typename std::enable_if_t<std::is_integral_v<T> &&
126 std::is_unsigned_v<T>>* =
nullptr>
128 static_assert(kSmiMaxValue <= std::numeric_limits<uintptr_t>::max());
135 return (
static_cast<uint64_t
>(value) -
142 static_assert(kSmiMaxValue <= std::numeric_limits<uint64_t>::max());
159 return static_cast<int>(
static_cast<intptr_t
>(value) >> shift_bits);
162 template <
class T,
typename std::enable_if_t<std::is_
integral_v<T> &&
163 std::is_
signed_v<T>>* =
nullptr>
166 return std::numeric_limits<int32_t>::min() <= value &&
167 value <= std::numeric_limits<int32_t>::max();
171 typename std::enable_if_t<std::is_integral_v<T> &&
172 std::is_unsigned_v<T>>* =
nullptr>
174 return value <= std::numeric_limits<int32_t>::max();
178#ifdef V8_COMPRESS_POINTERS
181constexpr size_t kPtrComprCageReservationSize =
size_t{1} << 32;
182constexpr size_t kPtrComprCageBaseAlignment =
size_t{1} << 32;
186 "Pointer compression can be enabled only for 64-bit architectures");
196#ifdef V8_31BIT_SMIS_ON_64BIT_ARCH
206const int kSmiMinValue =
static_cast<int>(PlatformSmiTagging::kSmiMinValue);
207const int kSmiMaxValue =
static_cast<int>(PlatformSmiTagging::kSmiMaxValue);
221#ifdef V8_ENABLE_SANDBOX
232#ifdef V8_ENABLE_SANDBOX
235#if defined(V8_TARGET_OS_ANDROID)
239constexpr size_t kSandboxSizeLog2 = 37;
240#elif defined(V8_TARGET_OS_IOS)
245constexpr size_t kSandboxSizeLog2 = 34;
248constexpr size_t kSandboxSizeLog2 = 40;
250constexpr size_t kSandboxSize = 1ULL << kSandboxSizeLog2;
257constexpr size_t kSandboxAlignment = kPtrComprCageBaseAlignment;
263constexpr uint64_t kSandboxedPointerShift = 64 - kSandboxSizeLog2;
272constexpr size_t kSandboxGuardRegionSize = 64ULL *
GB;
274static_assert((kSandboxGuardRegionSize % kSandboxAlignment) == 0,
275 "The size of the guard regions around the sandbox must be a "
276 "multiple of its required alignment.");
288constexpr size_t kSandboxMinimumReservationSize = 8ULL *
GB;
290static_assert(kSandboxMinimumReservationSize > kPtrComprCageReservationSize,
291 "The minimum reservation size for a sandbox must be larger than "
292 "the pointer compression cage contained within it.");
298constexpr size_t kMaxSafeBufferSizeForSandbox = 32ULL *
GB - 1;
299static_assert(kMaxSafeBufferSizeForSandbox <= kSandboxGuardRegionSize,
300 "The maximum allowed buffer size must not be larger than the "
301 "sandbox's guard regions");
303constexpr size_t kBoundedSizeShift = 29;
304static_assert(1ULL << (64 - kBoundedSizeShift) ==
305 kMaxSafeBufferSizeForSandbox + 1,
306 "The maximum size of a BoundedSize must be synchronized with the "
307 "kMaxSafeBufferSizeForSandbox");
311#ifdef V8_COMPRESS_POINTERS
313#ifdef V8_TARGET_OS_ANDROID
319constexpr size_t kExternalPointerTableReservationSize = 256 *
MB;
325constexpr uint32_t kExternalPointerIndexShift = 7;
327constexpr size_t kExternalPointerTableReservationSize = 512 *
MB;
328constexpr uint32_t kExternalPointerIndexShift = 6;
332constexpr int kExternalPointerTableEntrySize = 8;
333constexpr int kExternalPointerTableEntrySizeLog2 = 3;
335 kExternalPointerTableReservationSize / kExternalPointerTableEntrySize;
337 "kExternalPointerTableReservationSize and "
338 "kExternalPointerIndexShift don't match");
369#ifdef V8_ENABLE_SANDBOX
389#ifdef V8_COMPRESS_POINTERS
402#ifdef V8_COMPRESS_POINTERS
406constexpr size_t kCppHeapPointerTableReservationSize =
407 kExternalPointerTableReservationSize;
408constexpr uint32_t kCppHeapPointerIndexShift = kExternalPointerIndexShift;
410constexpr int kCppHeapPointerTableEntrySize = 8;
411constexpr int kCppHeapPointerTableEntrySizeLog2 = 3;
413 kCppHeapPointerTableReservationSize / kCppHeapPointerTableEntrySize;
415 "kCppHeapPointerTableReservationSize and "
416 "kCppHeapPointerIndexShift don't match");
452template <
typename Tag>
454 static_assert(std::is_enum_v<Tag> &&
455 std::is_same_v<std::underlying_type_t<Tag>, uint16_t>,
456 "Tag parameter must be an enum with base type uint16_t");
475 constexpr size_t Size()
const {
487 return static_cast<uint32_t
>(tag) -
first <=
500 static_assert(std::is_same_v<std::underlying_type_t<Tag>, uint16_t>);
501 return (
static_cast<size_t>(
first) << 16) |
last;
685V8_INLINE static constexpr bool IsSharedExternalPointerType(
693V8_INLINE static constexpr bool IsMaybeReadOnlyExternalPointerType(
702V8_INLINE static constexpr bool IsManagedExternalPointerType(
714V8_INLINE static constexpr bool ExternalPointerCanBeEmpty(
778 "kTrustedPointerTableReservationSize and "
779 "kTrustedPointerHandleShift don't match");
827 "kCodePointerTableReservationSize and kCodePointerHandleShift don't match");
843 "Use GetCurrentIsolate() instead, which is guaranteed to return the same "
844 "isolate since https://crrev.com/c/6458560.")
853 static constexpr uint32_t kSizeInBytes =
862 next = limit =
nullptr;
863 sealed_level = level = 0;
878 return mapword ^ kMapWordXorMask;
892#ifdef V8_COMPRESS_POINTERS
902#ifdef V8_ENABLE_SANDBOX
973#ifdef V8_COMPRESS_POINTERS
974 static const int kIsolateExternalPointerTableOffset =
976 static const int kIsolateSharedExternalPointerTableAddressOffset =
978 static const int kIsolateCppHeapPointerTableOffset =
980#ifdef V8_ENABLE_SANDBOX
981 static const int kIsolateTrustedCageBaseOffset =
983 static const int kIsolateTrustedPointerTableOffset =
985 static const int kIsolateSharedTrustedPointerTableAddressOffset =
987 static const int kIsolateTrustedPointerPublishingScopeOffset =
989 static const int kIsolateCodePointerTableBaseAddressOffset =
1014#if V8_STATIC_ROOTS_BOOL
1017#define EXPORTED_STATIC_ROOTS_PTR_LIST(V) \
1018 V(UndefinedValue, 0x11) \
1019 V(NullValue, 0x2d) \
1020 V(TrueValue, 0x71) \
1021 V(FalseValue, 0x55) \
1022 V(EmptyString, 0x49) \
1023 V(TheHoleValue, 0x7d9)
1025 using Tagged_t = uint32_t;
1026 struct StaticReadOnlyRoot {
1027#define DEF_ROOT(name, value) static constexpr Tagged_t k##name = value;
1028 EXPORTED_STATIC_ROOTS_PTR_LIST(DEF_ROOT)
1032 static constexpr Tagged_t kStringMapLowerBound = 0;
1033 static constexpr Tagged_t kStringMapUpperBound = 0x425;
1035#define PLUSONE(...) +1
1036 static constexpr size_t kNumberOfExportedStaticRoots =
1037 2 + EXPORTED_STATIC_ROOTS_PTR_LIST(PLUSONE);
1081#ifdef V8_MAP_PACKING
1082 static const uintptr_t kMapWordMetadataMask = 0xffffULL << 48;
1084 static const uintptr_t kMapWordSignature = 0b10;
1089 static const int kMapWordXorMask = 0b11;
1094#ifdef V8_ENABLE_CHECKS
1104 return PlatformSmiTagging::SmiToInt(value);
1108 return (value << (
kSmiTagSize + PlatformSmiTagging::kSmiShiftSize)) |
1116 template <
typename T,
1117 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1122 template <
typename T,
1123 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1125 return PlatformSmiTagging::IsValidSmi(value);
1128 template <
typename T,
1129 typename std::enable_if_t<std::is_integral_v<T>>* =
nullptr>
1131 if (
V8_LIKELY(PlatformSmiTagging::IsValidSmi(value))) {
1137#if V8_STATIC_ROOTS_BOOL
1139 return static_cast<Tagged_t
>(obj) == constant;
1142 V8_INLINE static bool CheckInstanceMapRange(
Address obj, Tagged_t first_map,
1143 Tagged_t last_map) {
1145#ifdef V8_MAP_PACKING
1146 map = UnpackMapWord(map);
1148 return map >= first_map && map <= last_map;
1154#ifdef V8_MAP_PACKING
1155 map = UnpackMapWord(map);
1163#ifdef V8_MAP_PACKING
1164 map = UnpackMapWord(map);
1185 (
static_cast<unsigned>(
static_cast<unsigned>(instance_type) -
1192 return *addr &
static_cast<uint8_t
>(1U << shift);
1197 uint8_t mask =
static_cast<uint8_t
>(1U << shift);
1198 *addr =
static_cast<uint8_t
>((*addr & ~mask) | (value << shift));
1208 *addr =
static_cast<uint8_t
>((*addr & ~kNodeStateMask) | value);
1215 *
reinterpret_cast<void**
>(addr) = data;
1222 return *
reinterpret_cast<void* const*
>(addr);
1234 ++(*
reinterpret_cast<size_t*
>(addr));
1240 return reinterpret_cast<Address*
>(addr);
1244#if V8_STATIC_ROOTS_BOOL
1248#define DECOMPRESS_ROOT(name, ...) \
1249 case k##name##RootIndex: \
1250 return base + StaticReadOnlyRoot::k##name;
1251 EXPORTED_STATIC_ROOTS_PTR_LIST(DECOMPRESS_ROOT)
1252#undef DECOMPRESS_ROOT
1253#undef EXPORTED_STATIC_ROOTS_PTR_LIST
1261#ifdef V8_ENABLE_SANDBOX
1264 kIsolateExternalPointerTableOffset +
1266 return *
reinterpret_cast<Address**
>(addr);
1272 kIsolateSharedExternalPointerTableAddressOffset;
1273 addr = *
reinterpret_cast<Address*
>(addr);
1275 return *
reinterpret_cast<Address**
>(addr);
1279 template <
typename T>
1282#ifdef V8_COMPRESS_POINTERS
1289 memcpy(&r,
reinterpret_cast<void*
>(addr),
sizeof(T));
1293 return *
reinterpret_cast<const T*
>(addr);
1298#ifdef V8_COMPRESS_POINTERS
1299 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1300 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1301 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1303 return ReadRawField<Address>(heap_object_ptr, offset);
1309#ifdef V8_COMPRESS_POINTERS
1310 uint32_t value = ReadRawField<uint32_t>(heap_object_ptr, offset);
1311 return static_cast<Address>(
static_cast<uintptr_t
>(value));
1313 return ReadRawField<Address>(heap_object_ptr, offset);
1318 "Use GetCurrentIsolateForSandbox() instead, which is guaranteed to "
1319 "return the same isolate since https://crrev.com/c/6458560.")
1321#ifdef V8_ENABLE_SANDBOX
1334#ifdef V8_ENABLE_SANDBOX
1342 template <ExternalPo
interTagRange tag_range>
1346#ifdef V8_ENABLE_SANDBOX
1347 static_assert(!tag_range.IsEmpty());
1350 Address* table = IsSharedExternalPointerType(tag_range)
1351 ? GetSharedExternalPointerTableBase(isolate)
1352 : GetExternalPointerTableBase(isolate);
1354 ReadRawField<ExternalPointerHandle>(heap_object_ptr, offset);
1355 uint32_t index = handle >> kExternalPointerIndexShift;
1356 std::atomic<Address>* ptr =
1357 reinterpret_cast<std::atomic<Address>*
>(&table[index]);
1358 Address entry = std::atomic_load_explicit(ptr, std::memory_order_relaxed);
1361 if (
V8_LIKELY(tag_range.Contains(actual_tag))) {
1368 return ReadRawField<Address>(heap_object_ptr, offset);
1372#ifdef V8_COMPRESS_POINTERS
1374 return addr & -
static_cast<intptr_t
>(kPtrComprCageBaseAlignment);
1378 return static_cast<uint32_t
>(value);
1383 Address base = GetPtrComprCageBaseFromOnHeapAddress(heap_object_ptr);
1384 return base +
static_cast<Address>(
static_cast<uintptr_t
>(value));
1392template <
bool PerformCheck>
1411 !std::is_same_v<Data, std::remove_cv_t<T>>>::Perform(data);
1426 Heap*
heap()
const {
return heap_; }
1432 return a.heap_ == b.heap_;
1455template <
typename T>
1460 template <
typename HeapOrIsolateT>
1462 template <
typename U>
1465 using std::allocator<T>::allocate;
1466 using std::allocator<T>::deallocate;
1471template <
typename Iterator,
typename =
void>
1473template <
typename Iterator>
1475 Iterator, std::void_t<typename Iterator::iterator_concept>> =
true;
1477template <
typename Iterator,
typename =
void>
1479template <
typename Iterator>
1481 Iterator, std::void_t<typename Iterator::iterator_category>> =
true;
1486template <
typename Iterator,
typename =
void>
1489template <
typename Iterator>
1491 Iterator, std::enable_if_t<kHaveIteratorConcept<Iterator>>> {
1495template <
typename Iterator>
1497 Iterator, std::enable_if_t<kHaveIteratorCategory<Iterator> &&
1498 !kHaveIteratorConcept<Iterator>>> {
1504#if __has_include(<ranges>)
1505 using iterator_concept =
1506 typename std::iterator_traits<Iterator>::iterator_concept;
1514template <
typename Iterator,
typename ElementType =
void>
1518 std::is_void_v<ElementType> ||
1519 (std::is_convertible_v<typename std::iterator_traits<Iterator>::pointer,
1520 std::add_pointer_t<ElementType>> &&
1521 std::is_convertible_v<typename std::iterator_traits<Iterator>::reference,
1522 std::add_lvalue_reference_t<ElementType>>));
1525 typename std::iterator_traits<Iterator>::difference_type;
1527 std::conditional_t<std::is_void_v<ElementType>,
1528 typename std::iterator_traits<Iterator>::value_type,
1531 std::conditional_t<std::is_void_v<ElementType>,
1532 typename std::iterator_traits<Iterator>::pointer,
1533 std::add_pointer_t<ElementType>>;
1535 std::conditional_t<std::is_void_v<ElementType>,
1536 typename std::iterator_traits<Iterator>::reference,
1537 std::add_lvalue_reference_t<ElementType>>;
1539 typename std::iterator_traits<Iterator>::iterator_category;
1546 template <
typename OtherIterator,
typename OtherElementType,
1547 typename = std::enable_if_t<
1548 std::is_convertible_v<OtherIterator, Iterator>>>
1551 : it_(other.base()) {}
1555 if constexpr (std::is_pointer_v<Iterator>) {
1558 return it_.operator->();
1562 template <
typename OtherIterator,
typename OtherElementType>
1566 return it_ == other.base();
1568#if V8_HAVE_SPACESHIP_OPERATOR
1569 template <
typename OtherIterator,
typename OtherElementType>
1570 [[nodiscard]]
constexpr auto operator<=>(
1573 if constexpr (std::three_way_comparable_with<Iterator, OtherIterator>) {
1574 return it_ <=> other.base();
1575 }
else if constexpr (std::totally_ordered_with<Iterator, OtherIterator>) {
1576 if (it_ < other.base()) {
1577 return std::strong_ordering::less;
1579 return (it_ > other.base()) ? std::strong_ordering::greater
1580 : std::strong_ordering::equal;
1582 if (it_ < other.base()) {
1583 return std::partial_ordering::less;
1585 if (other.base() < it_) {
1586 return std::partial_ordering::greater;
1588 return (it_ == other.base()) ? std::partial_ordering::equivalent
1589 : std::partial_ordering::unordered;
1595 template <
typename OtherIterator,
typename OtherElementType>
1599 return it_ != other.base();
1602 template <
typename OtherIterator,
typename OtherElementType>
1606 return it_ < other.base();
1608 template <
typename OtherIterator,
typename OtherElementType>
1612 return it_ <= other.base();
1614 template <
typename OtherIterator,
typename OtherElementType>
1618 return it_ > other.base();
1620 template <
typename OtherIterator,
typename OtherElementType>
1624 return it_ >= other.base();
1668 template <
typename OtherIterator,
typename OtherElementType>
1672 return it_ - other.base();
1679 [[nodiscard]]
constexpr const Iterator&
base() const noexcept {
return it_; }
1696#ifdef V8_ENABLE_DIRECT_HANDLE
1697 static constexpr Address kTaggedNullAddress = 1;
1706 template <
typename T>
1714 template <
template <
typename T,
typename... Ms>
typename H,
typename T,
1717 return handle.template value<T>();
1720#ifdef V8_ENABLE_DIRECT_HANDLE
1722 template <
typename T>
1724 return reinterpret_cast<Address>(value);
1727 template <
typename T,
bool check_null = true,
typename S>
1729 if (check_null && slot ==
nullptr) {
1730 return reinterpret_cast<T*
>(kTaggedNullAddress);
1732 return *
reinterpret_cast<T**
>(slot);
1735 template <
typename T>
1740 template <
typename T>
1742 return reinterpret_cast<T*
>(repr);
1747 template <
typename T>
1749 return *
reinterpret_cast<const Address*
>(value);
1752 template <
typename T,
bool check_null = true,
typename S>
1754 return reinterpret_cast<T*
>(slot);
1757 template <
typename T>
1760 reinterpret_cast<const Address*
>(value));
1763 template <
typename T>
1765 return reinterpret_cast<T*
>(repr);
1786 template <
typename T1,
typename T2>
1788 if (lhs.IsEmpty())
return rhs.IsEmpty();
1789 if (rhs.IsEmpty())
return false;
1790 return lhs.ptr() == rhs.ptr();
Definition: v8-isolate.h:290
Definition: v8-internal.h:1416
Definition: v8-internal.h:1774
static bool EqualHandles(const T1 &lhs, const T2 &rhs)
Definition: v8-internal.h:1787
Definition: v8-internal.h:874
static Address LoadMap(Address obj)
Definition: v8-internal.h:1160
static constexpr size_t kExternalAllocationSoftLimit
Definition: v8-internal.h:1079
static bool IsExternalTwoByteString(int instance_type)
Definition: v8-internal.h:1173
static const int kIsolateCageBaseOffset
Definition: v8-internal.h:938
static const int kEmbedderDataArrayHeaderSize
Definition: v8-internal.h:900
static const int kHeapObjectMapOffset
Definition: v8-internal.h:885
static const int kEmbedderDataSlotSize
Definition: v8-internal.h:901
static const int kIsolateApiCallbackThunkArgumentOffset
Definition: v8-internal.h:998
static Address ReadExternalPointerField(v8::Isolate *isolate, Address heap_object_ptr, int offset)
Definition: v8-internal.h:1343
static const int kJSAPIObjectWithEmbedderSlotsHeaderSize
Definition: v8-internal.h:896
static constexpr bool HasHeapObjectTag(Address value)
Definition: v8-internal.h:1099
static const int kOddballType
Definition: v8-internal.h:1056
static const int kInferShouldThrowMode
Definition: v8-internal.h:1075
static const int kNewAllocationInfoOffset
Definition: v8-internal.h:950
static Address GetRoot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1243
static const int kStringEncodingMask
Definition: v8-internal.h:909
static const int kIsolateFastCCallCallerPcOffset
Definition: v8-internal.h:958
static uint8_t GetNodeFlag(Address *obj, int shift)
Definition: v8-internal.h:1190
static const int kIsolateThreadLocalTopOffset
Definition: v8-internal.h:967
static const uint32_t kNumIsolateDataSlots
Definition: v8-internal.h:913
static const int kForeignType
Definition: v8-internal.h:1057
static const int kJSDispatchTableOffset
Definition: v8-internal.h:1001
static const int kFirstEmbedderJSApiObjectType
Definition: v8-internal.h:1064
static const int kNumberOfBooleanFlags
Definition: v8-internal.h:915
static uint8_t GetNodeState(Address *obj)
Definition: v8-internal.h:1201
static const int kThreadLocalTopSize
Definition: v8-internal.h:922
static const int kIsolateRootsOffset
Definition: v8-internal.h:1007
static const int kExternalPointerTableSize
Definition: v8-internal.h:929
static const int kUndefinedOddballKind
Definition: v8-internal.h:1068
static const int kMapInstanceTypeOffset
Definition: v8-internal.h:886
static constexpr Address AddressToSmi(Address value)
Definition: v8-internal.h:1107
static const int kIsolateStackGuardOffset
Definition: v8-internal.h:939
static const int kLinearAllocationAreaSize
Definition: v8-internal.h:921
static const int kFastCCallAlignmentPaddingSize
Definition: v8-internal.h:955
static const int kDisallowGarbageCollectionAlign
Definition: v8-internal.h:1011
static const int kIsolateFastCCallCallerFpOffset
Definition: v8-internal.h:961
static const int kErrorMessageParamSize
Definition: v8-internal.h:916
static const int kSegmentedTableSegmentPoolSize
Definition: v8-internal.h:928
static void CheckInitialized(v8::Isolate *isolate)
Definition: v8-internal.h:1093
static void UpdateNodeState(Address *obj, uint8_t value)
Definition: v8-internal.h:1206
static constexpr Address IntegralToSmi(T value)
Definition: v8-internal.h:1118
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:1124
static const int kJSObjectType
Definition: v8-internal.h:1059
static const int kBuiltinTier0TableOffset
Definition: v8-internal.h:948
static const int kIsolateLongTaskStatsCounterOffset
Definition: v8-internal.h:965
static const int kNativeContextEmbedderDataOffset
Definition: v8-internal.h:907
static const int kLastJSApiObjectType
Definition: v8-internal.h:1061
static constexpr bool CanHaveInternalField(int instance_type)
Definition: v8-internal.h:1178
static const int kIsolateHandleScopeDataOffset
Definition: v8-internal.h:969
static const int kFirstNonstringType
Definition: v8-internal.h:1055
static const int kEmptyStringRootIndex
Definition: v8-internal.h:1048
static const int kBuiltinTier0EntryTableOffset
Definition: v8-internal.h:945
static const int kFixedArrayHeaderSize
Definition: v8-internal.h:899
static const int kNullOddballKind
Definition: v8-internal.h:1069
static const int kUndefinedValueRootIndex
Definition: v8-internal.h:1043
static const int kExternalTwoByteRepresentationTag
Definition: v8-internal.h:910
static constexpr Address IntToSmi(int value)
Definition: v8-internal.h:1112
static const int kDontThrow
Definition: v8-internal.h:1073
static void CheckInitializedImpl(v8::Isolate *isolate)
static void * GetEmbedderData(const v8::Isolate *isolate, uint32_t slot)
Definition: v8-internal.h:1218
static const int kStackGuardSize
Definition: v8-internal.h:914
static const int kNodeStateMask
Definition: v8-internal.h:1052
static HandleScopeData * GetHandleScopeData(v8::Isolate *isolate)
Definition: v8-internal.h:1225
static const int kNodeStateIsWeakValue
Definition: v8-internal.h:1053
static const int kFirstJSApiObjectType
Definition: v8-internal.h:1060
static const int kStringResourceOffset
Definition: v8-internal.h:887
static const int kErrorMessageParamOffset
Definition: v8-internal.h:943
static const int kExternalPointerTableBasePointerOffset
Definition: v8-internal.h:927
static const int kFalseValueRootIndex
Definition: v8-internal.h:1047
static const int kIsolateRegexpExecVectorArgumentOffset
Definition: v8-internal.h:1003
static const int kIsolateFastApiCallTargetOffset
Definition: v8-internal.h:963
static const int kTrueValueRootIndex
Definition: v8-internal.h:1046
static int GetInstanceType(Address obj)
Definition: v8-internal.h:1152
static const int kThrowOnError
Definition: v8-internal.h:1074
static Address ReadTaggedSignedField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1307
static const int kOddballKindOffset
Definition: v8-internal.h:890
static const int kBuiltinTier0TableSize
Definition: v8-internal.h:920
static const int kContinuationPreservedEmbedderDataOffset
Definition: v8-internal.h:1005
static Address ReadTaggedPointerField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1296
static const int kNullValueRootIndex
Definition: v8-internal.h:1045
static void SetEmbedderData(v8::Isolate *isolate, uint32_t slot, void *data)
Definition: v8-internal.h:1211
static Address * GetRootSlot(v8::Isolate *isolate, int index)
Definition: v8-internal.h:1237
static const int kTrustedPointerTableSize
Definition: v8-internal.h:932
static const int kTheHoleValueRootIndex
Definition: v8-internal.h:1044
static constexpr int SmiValue(Address value)
Definition: v8-internal.h:1103
static const int kTablesAlignmentPaddingSize
Definition: v8-internal.h:917
static const int kHandleScopeDataSize
Definition: v8-internal.h:923
static const int kExternalOneByteRepresentationTag
Definition: v8-internal.h:911
static const int kBuiltinTier0EntryTableSize
Definition: v8-internal.h:919
static void UpdateNodeFlag(Address *obj, bool value, int shift)
Definition: v8-internal.h:1195
static void IncrementLongTasksStatsCounter(v8::Isolate *isolate)
Definition: v8-internal.h:1231
static const int kDisallowGarbageCollectionSize
Definition: v8-internal.h:1012
static const int kOldAllocationInfoOffset
Definition: v8-internal.h:952
static const int kIsolateEmbedderDataOffset
Definition: v8-internal.h:971
static T ReadRawField(Address heap_object_ptr, int offset)
Definition: v8-internal.h:1280
static v8::Isolate * GetCurrentIsolate()
static const int kEmbedderDataSlotExternalPointerOffset
Definition: v8-internal.h:905
static v8::Isolate * GetCurrentIsolateForSandbox()
Definition: v8-internal.h:1333
static int GetOddballKind(Address obj)
Definition: v8-internal.h:1169
static const int kNodeFlagsOffset
Definition: v8-internal.h:1051
static const int kTrustedPointerTableBasePointerOffset
Definition: v8-internal.h:935
static const int kRegExpStaticResultOffsetsVectorSize
Definition: v8-internal.h:918
static const int kLastEmbedderJSApiObjectType
Definition: v8-internal.h:1065
static const int kVariousBooleanFlagsOffset
Definition: v8-internal.h:941
static constexpr std::optional< Address > TryIntegralToSmi(T value)
Definition: v8-internal.h:1130
static const int kNodeClassIdOffset
Definition: v8-internal.h:1050
static const int kStringRepresentationAndEncodingMask
Definition: v8-internal.h:908
static const int kJSObjectHeaderSize
Definition: v8-internal.h:891
static v8::Isolate * GetIsolateForSandbox(Address obj)
Definition: v8-internal.h:1320
static const int kJSSpecialApiObjectType
Definition: v8-internal.h:1058
Definition: v8-internal.h:1424
friend bool operator==(const StrongRootAllocatorBase &a, const StrongRootAllocatorBase &b)
Definition: v8-internal.h:1428
StrongRootAllocatorBase(Heap *heap)
Definition: v8-internal.h:1436
Address * allocate_impl(size_t n)
StrongRootAllocatorBase(v8::Isolate *isolate)
StrongRootAllocatorBase(LocalIsolate *isolate)
void deallocate_impl(Address *p, size_t n) noexcept
StrongRootAllocatorBase(LocalHeap *heap)
StrongRootAllocatorBase(Isolate *isolate)
Heap * heap() const
Definition: v8-internal.h:1426
Definition: v8-internal.h:1456
StrongRootAllocator(HeapOrIsolateT *)
Definition: v8-internal.h:1461
T value_type
Definition: v8-internal.h:1458
StrongRootAllocator(const StrongRootAllocator< U > &other) noexcept
Definition: v8-internal.h:1463
Definition: v8-internal.h:1688
static Address ValueAsAddress(const T *value)
Definition: v8-internal.h:1748
static T * ReprAsValue(InternalRepresentationType repr)
Definition: v8-internal.h:1764
internal::Address * InternalRepresentationType
Definition: v8-internal.h:1702
static T * SlotAsValue(S *slot)
Definition: v8-internal.h:1753
static T * HandleAsValue(const H< T, Ms... > &handle)
Definition: v8-internal.h:1716
static InternalRepresentationType ValueAsRepr(const T *value)
Definition: v8-internal.h:1758
static bool IsEmpty(T *value)
Definition: v8-internal.h:1707
static constexpr InternalRepresentationType kEmpty
Definition: v8-internal.h:1703
Definition: v8-internal.h:1515
constexpr WrappedIterator & operator-=(difference_type n) noexcept
Definition: v8-internal.h:1665
constexpr WrappedIterator operator--(int) noexcept
Definition: v8-internal.h:1642
constexpr WrappedIterator & operator+=(difference_type n) noexcept
Definition: v8-internal.h:1657
constexpr const Iterator & base() const noexcept
Definition: v8-internal.h:1679
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::value_type, ElementType > value_type
Definition: v8-internal.h:1529
constexpr WrappedIterator & operator++() noexcept
Definition: v8-internal.h:1628
constexpr pointer operator->() const noexcept
Definition: v8-internal.h:1554
constexpr reference operator[](difference_type n) const noexcept
Definition: v8-internal.h:1674
typename std::iterator_traits< Iterator >::difference_type difference_type
Definition: v8-internal.h:1525
constexpr bool operator!=(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1596
constexpr bool operator>=(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1621
constexpr bool operator<(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1603
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:1537
constexpr WrappedIterator & operator--() noexcept
Definition: v8-internal.h:1638
constexpr WrappedIterator() noexcept=default
constexpr bool operator<=(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1609
constexpr WrappedIterator(const WrappedIterator< OtherIterator, OtherElementType > &other) noexcept
Definition: v8-internal.h:1549
constexpr bool operator>(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1615
typename std::iterator_traits< Iterator >::iterator_category iterator_category
Definition: v8-internal.h:1539
constexpr reference operator*() const noexcept
Definition: v8-internal.h:1553
constexpr auto operator-(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1669
friend constexpr WrappedIterator operator+(difference_type n, const WrappedIterator &x) noexcept
Definition: v8-internal.h:1653
constexpr WrappedIterator operator+(difference_type n) const noexcept
Definition: v8-internal.h:1647
constexpr WrappedIterator operator++(int) noexcept
Definition: v8-internal.h:1632
constexpr WrappedIterator operator-(difference_type n) const noexcept
Definition: v8-internal.h:1661
std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::pointer, std::add_pointer_t< ElementType > > pointer
Definition: v8-internal.h:1533
constexpr bool operator==(const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
Definition: v8-internal.h:1563
const intptr_t kHeapObjectTagMask
Definition: v8-internal.h:75
constexpr uint64_t kCppHeapPointerMarkBit
Definition: v8-internal.h:398
constexpr int kCodePointerTableEntrySizeLog2
Definition: v8-internal.h:822
constexpr bool kRuntimeGeneratedCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:834
internal::Isolate * IsolateFromNeverReadOnlySpaceObject(Address obj)
constexpr uint64_t kExternalPointerTagShift
Definition: v8-internal.h:348
IndirectPointerHandle TrustedPointerHandle
Definition: v8-internal.h:757
const int kApiSystemPointerSize
Definition: v8-internal.h:65
constexpr bool SandboxIsEnabled()
Definition: v8-internal.h:220
const int kApiDoubleSize
Definition: v8-internal.h:66
constexpr size_t kMaxCppHeapPointers
Definition: v8-internal.h:421
constexpr intptr_t kIntptrAllBitsSet
Definition: v8-internal.h:93
constexpr int GB
Definition: v8-internal.h:57
void VerifyHandleIsNonEmpty(bool is_empty)
const int kApiInt32Size
Definition: v8-internal.h:67
const int kForwardingTagSize
Definition: v8-internal.h:82
uint32_t CppHeapPointerHandle
Definition: v8-internal.h:383
const intptr_t kForwardingTagMask
Definition: v8-internal.h:83
void PrintPropertyCallbackInfo(void *property_callback_info)
constexpr ExternalPointerTagRange kAnyManagedResourceExternalPointerTag(kFirstManagedResourceTag, kLastManagedResourceTag)
IndirectPointerHandle CodePointerHandle
Definition: v8-internal.h:795
constexpr uint64_t kExternalPointerPayloadMask
Definition: v8-internal.h:355
const int kSmiTagSize
Definition: v8-internal.h:87
const int kApiInt64Size
Definition: v8-internal.h:68
constexpr ExternalPointerTagRange kAnyExternalPointerTagRange(kFirstExternalPointerTag, kLastExternalPointerTag)
constexpr uint64_t kExternalPointerTagMask
Definition: v8-internal.h:349
constexpr int kCodePointerTableEntryCodeObjectOffset
Definition: v8-internal.h:830
constexpr int kTrustedPointerTableEntrySizeLog2
Definition: v8-internal.h:774
constexpr int kTrustedPointerTableEntrySize
Definition: v8-internal.h:773
constexpr uint64_t kCppHeapPointerPayloadShift
Definition: v8-internal.h:400
constexpr ExternalPointer_t kNullExternalPointer
Definition: v8-internal.h:375
Address ExternalPointer_t
Definition: v8-internal.h:372
uint32_t IndirectPointerHandle
Definition: v8-internal.h:737
constexpr CppHeapPointer_t kNullCppHeapPointer
Definition: v8-internal.h:395
constexpr ExternalPointerTagRange kAnySharedExternalPointerTagRange(kFirstSharedExternalPointerTag, kLastSharedExternalPointerTag)
const int kApiSizetSize
Definition: v8-internal.h:69
constexpr uint64_t kExternalPointerTagAndMarkbitMask
Definition: v8-internal.h:354
constexpr int kCodePointerTableEntryEntrypointOffset
Definition: v8-internal.h:829
constexpr size_t kMaxExternalPointers
Definition: v8-internal.h:343
constexpr size_t kCodePointerTableReservationSize
Definition: v8-internal.h:800
constexpr TrustedPointerHandle kNullTrustedPointerHandle
Definition: v8-internal.h:769
const int kWeakHeapObjectTag
Definition: v8-internal.h:73
constexpr ExternalPointerHandle kNullExternalPointerHandle
Definition: v8-internal.h:376
constexpr ExternalPointerTagRange kAnyMaybeReadOnlyExternalPointerTagRange(kFirstMaybeReadOnlyExternalPointerTag, kLastMaybeReadOnlyExternalPointerTag)
constexpr uintptr_t kUintptrAllBitsSet
Definition: v8-internal.h:94
const int kForwardingTag
Definition: v8-internal.h:81
const intptr_t kHeapObjectReferenceTagMask
Definition: v8-internal.h:76
constexpr bool SmiValuesAre31Bits()
Definition: v8-internal.h:208
constexpr size_t kMaxTrustedPointers
Definition: v8-internal.h:775
bool ShouldThrowOnError(internal::Isolate *isolate)
constexpr uint64_t kCppHeapPointerTagShift
Definition: v8-internal.h:399
constexpr ExternalPointerTagRange kAnyInterceptorInfoExternalPointerTagRange(kFirstInterceptorInfoExternalPointerTag, kLastInterceptorInfoExternalPointerTag)
constexpr int KB
Definition: v8-internal.h:55
constexpr bool kBuiltinCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:835
constexpr uint32_t kTrustedPointerHandleShift
Definition: v8-internal.h:766
constexpr uint32_t kCodePointerHandleShift
Definition: v8-internal.h:804
constexpr ExternalPointerTagRange kAnyManagedExternalPointerTagRange(kFirstManagedExternalPointerTag, kLastManagedExternalPointerTag)
const int kHeapObjectTag
Definition: v8-internal.h:72
const int kSmiShiftSize
Definition: v8-internal.h:204
constexpr size_t kMaxCodePointers
Definition: v8-internal.h:823
constexpr bool kHaveIteratorCategory
Definition: v8-internal.h:1478
SmiTagging< kApiTaggedSize > PlatformSmiTagging
Definition: v8-internal.h:199
ExternalPointerTag
Definition: v8-internal.h:553
@ kLastForeignExternalPointerTag
Definition: v8-internal.h:650
@ kApiIndexedPropertyDescriptorCallbackTag
Definition: v8-internal.h:596
@ kGenericForeignTag
Definition: v8-internal.h:609
@ kFirstMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:579
@ kTemporalInstantTag
Definition: v8-internal.h:640
@ kTemporalPlainYearMonthTag
Definition: v8-internal.h:644
@ kExternalPointerEvacuationEntryTag
Definition: v8-internal.h:658
@ kFirstSharedExternalPointerTag
Definition: v8-internal.h:565
@ kApiNamedPropertyDefinerCallbackTag
Definition: v8-internal.h:590
@ kLastSharedExternalPointerTag
Definition: v8-internal.h:569
@ kD8WorkerTag
Definition: v8-internal.h:648
@ kApiIndexedPropertySetterCallbackTag
Definition: v8-internal.h:595
@ kWasmManagedDataTag
Definition: v8-internal.h:627
@ kLastExternalPointerTag
Definition: v8-internal.h:661
@ kIcuBreakIteratorTag
Definition: v8-internal.h:629
@ kMicrotaskCallbackDataTag
Definition: v8-internal.h:615
@ kWasmNativeModuleTag
Definition: v8-internal.h:628
@ kApiIndexedPropertyGetterCallbackTag
Definition: v8-internal.h:594
@ kApiNamedPropertyDescriptorCallbackTag
Definition: v8-internal.h:589
@ kAccessorInfoGetterTag
Definition: v8-internal.h:581
@ kTemporalPlainMonthDayTag
Definition: v8-internal.h:645
@ kIcuCollatorTag
Definition: v8-internal.h:638
@ kIcuSimpleDateFormatTag
Definition: v8-internal.h:633
@ kApiIndexedPropertyDefinerCallbackTag
Definition: v8-internal.h:597
@ kSyntheticModuleTag
Definition: v8-internal.h:613
@ kD8ModuleEmbedderDataTag
Definition: v8-internal.h:649
@ kExternalStringResourceTag
Definition: v8-internal.h:567
@ kWasmFuncDataTag
Definition: v8-internal.h:626
@ kExternalObjectValueTag
Definition: v8-internal.h:578
@ kWaiterQueueForeignTag
Definition: v8-internal.h:619
@ kAccessorInfoSetterTag
Definition: v8-internal.h:582
@ kApiNamedPropertyDeleterCallbackTag
Definition: v8-internal.h:591
@ kApiAccessCheckCallbackTag
Definition: v8-internal.h:611
@ kApiAbortScriptExecutionCallbackTag
Definition: v8-internal.h:612
@ kMicrotaskCallbackTag
Definition: v8-internal.h:614
@ kIcuLocalizedNumberFormatterTag
Definition: v8-internal.h:636
@ kApiNamedPropertyGetterCallbackTag
Definition: v8-internal.h:587
@ kApiNamedPropertySetterCallbackTag
Definition: v8-internal.h:588
@ kApiIndexedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:599
@ kExternalPointerFreeEntryTag
Definition: v8-internal.h:659
@ kFirstInterceptorInfoExternalPointerTag
Definition: v8-internal.h:585
@ kCFunctionTag
Definition: v8-internal.h:616
@ kIcuUnicodeStringTag
Definition: v8-internal.h:630
@ kLastManagedExternalPointerTag
Definition: v8-internal.h:651
@ kWaiterQueueNodeTag
Definition: v8-internal.h:566
@ kGenericManagedTag
Definition: v8-internal.h:624
@ kExternalPointerNullTag
Definition: v8-internal.h:555
@ kExternalStringResourceDataTag
Definition: v8-internal.h:568
@ kTemporalZonedDateTimeTag
Definition: v8-internal.h:646
@ kWasmStackMemoryTag
Definition: v8-internal.h:605
@ kLastManagedResourceTag
Definition: v8-internal.h:655
@ kExternalPointerZappedEntryTag
Definition: v8-internal.h:657
@ kApiNamedPropertyQueryCallbackTag
Definition: v8-internal.h:586
@ kEmbedderDataSlotPayloadTag
Definition: v8-internal.h:574
@ kFirstForeignExternalPointerTag
Definition: v8-internal.h:608
@ kTemporalPlainDateTimeTag
Definition: v8-internal.h:643
@ kIcuListFormatterTag
Definition: v8-internal.h:631
@ kDisplayNamesInternalTag
Definition: v8-internal.h:647
@ kFirstManagedResourceTag
Definition: v8-internal.h:622
@ kFirstManagedExternalPointerTag
Definition: v8-internal.h:623
@ kTemporalPlainTimeTag
Definition: v8-internal.h:642
@ kIcuPluralRulesTag
Definition: v8-internal.h:637
@ kApiIndexedPropertyQueryCallbackTag
Definition: v8-internal.h:593
@ kIcuLocaleTag
Definition: v8-internal.h:632
@ kMessageListenerTag
Definition: v8-internal.h:618
@ kApiIndexedPropertyDeleterCallbackTag
Definition: v8-internal.h:598
@ kTemporalDurationTag
Definition: v8-internal.h:639
@ kLastInterceptorInfoExternalPointerTag
Definition: v8-internal.h:600
@ kIcuRelativeDateTimeFormatterTag
Definition: v8-internal.h:635
@ kWasmWasmStreamingTag
Definition: v8-internal.h:625
@ kNativeContextMicrotaskQueueTag
Definition: v8-internal.h:573
@ kLastMaybeReadOnlyExternalPointerTag
Definition: v8-internal.h:603
@ kArrayBufferExtensionTag
Definition: v8-internal.h:654
@ kIcuDateIntervalFormatTag
Definition: v8-internal.h:634
@ kCFunctionInfoTag
Definition: v8-internal.h:617
@ kFirstExternalPointerTag
Definition: v8-internal.h:554
@ kApiNamedPropertyEnumeratorCallbackTag
Definition: v8-internal.h:592
@ kFunctionTemplateInfoCallbackTag
Definition: v8-internal.h:580
@ kTemporalPlainDateTag
Definition: v8-internal.h:641
const int kSmiValueSize
Definition: v8-internal.h:205
constexpr ExternalPointerTagRange kAnyForeignExternalPointerTagRange(kFirstForeignExternalPointerTag, kLastForeignExternalPointerTag)
constexpr bool SmiValuesAre32Bits()
Definition: v8-internal.h:209
TagRange< ExternalPointerTag > ExternalPointerTagRange
Definition: v8-internal.h:664
constexpr IndirectPointerHandle kNullIndirectPointerHandle
Definition: v8-internal.h:740
uintptr_t Address
Definition: v8-internal.h:52
void PerformCastCheck(T *data)
Definition: v8-internal.h:1409
void PrintFunctionCallbackInfo(void *function_callback_info)
constexpr size_t kTrustedPointerTableReservationSize
Definition: v8-internal.h:762
uint32_t ExternalPointerHandle
Definition: v8-internal.h:364
const intptr_t kSmiTagMask
Definition: v8-internal.h:88
const int kHeapObjectTagSize
Definition: v8-internal.h:74
const int kSmiMaxValue
Definition: v8-internal.h:207
constexpr bool Is64()
Definition: v8-internal.h:210
constexpr bool kAllCodeObjectsLiveInTrustedSpace
Definition: v8-internal.h:836
const int kSmiTag
Definition: v8-internal.h:86
constexpr CodePointerHandle kNullCodePointerHandle
Definition: v8-internal.h:807
Address CppHeapPointer_t
Definition: v8-internal.h:392
constexpr CppHeapPointerHandle kNullCppHeapPointerHandle
Definition: v8-internal.h:396
constexpr int kGarbageCollectionReasonMaxValue
Definition: v8-internal.h:1420
constexpr int kCodePointerTableEntrySize
Definition: v8-internal.h:821
constexpr uint32_t kCodePointerHandleMarker
Definition: v8-internal.h:816
const int kSmiMinValue
Definition: v8-internal.h:206
constexpr bool kHaveIteratorConcept
Definition: v8-internal.h:1472
constexpr int MB
Definition: v8-internal.h:56
constexpr uint64_t kExternalPointerShiftedTagMask
Definition: v8-internal.h:350
constexpr uint64_t kExternalPointerMarkBit
Definition: v8-internal.h:347
Address SandboxedPointer_t
Definition: v8-internal.h:230
const int kApiTaggedSize
Definition: v8-internal.h:189
constexpr bool PointerCompressionIsEnabled()
Definition: v8-internal.h:192
Definition: libplatform.h:15
Definition: v8-internal.h:1393
static void Perform(T *data)
Definition: v8-internal.h:852
Address * next
Definition: v8-internal.h:856
int level
Definition: v8-internal.h:858
Address * limit
Definition: v8-internal.h:857
int sealed_level
Definition: v8-internal.h:859
static constexpr uint32_t kSizeInBytes
Definition: v8-internal.h:853
void Initialize()
Definition: v8-internal.h:861
typename Iterator::iterator_concept iterator_concept
Definition: v8-internal.h:1492
Definition: v8-internal.h:1487
static constexpr bool IsValidSmi(uint64_t value)
Definition: v8-internal.h:141
static constexpr bool IsValidSmi(int64_t value)
Definition: v8-internal.h:134
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:114
static constexpr int SmiToInt(Address value)
Definition: v8-internal.h:106
static constexpr bool IsValidSmi(T value)
Definition: v8-internal.h:164
static constexpr int SmiToInt(Address value)
Definition: v8-internal.h:156
Definition: v8-internal.h:91
Definition: v8-internal.h:453
constexpr size_t Size() const
Definition: v8-internal.h:475
constexpr bool IsEmpty() const
Definition: v8-internal.h:473
const Tag last
Definition: v8-internal.h:506
constexpr bool operator==(const TagRange other) const
Definition: v8-internal.h:495
constexpr bool Contains(Tag tag) const
Definition: v8-internal.h:483
const Tag first
Definition: v8-internal.h:505
constexpr TagRange()
Definition: v8-internal.h:470
constexpr TagRange(Tag tag)
Definition: v8-internal.h:466
constexpr size_t hash_value() const
Definition: v8-internal.h:499
constexpr TagRange(Tag first, Tag last)
Definition: v8-internal.h:459
constexpr bool Contains(TagRange tag_range) const
Definition: v8-internal.h:491
#define V8_EXPORT
Definition: v8config.h:860
#define V8_INLINE
Definition: v8config.h:513
#define V8_DEPRECATE_SOON(message)
Definition: v8config.h:627
#define V8_LIKELY(condition)
Definition: v8config.h:674