v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::InstanceTypeChecker Namespace Reference

Namespaces

namespace  InstanceTypeTraits
 

Classes

struct  InstanceRangeChecker
 
struct  InstanceRangeChecker< FIRST_TYPE, upper_limit >
 
struct  InstanceRangeChecker< lower_limit, LAST_TYPE >
 

Typedefs

using InstanceTypeRange = std::pair<InstanceType, InstanceType>
 
using TaggedAddressRange = std::pair<Tagged_t, Tagged_t>
 

Functions

template<class type >
V8_INLINE consteval std::optional< RootIndexUniqueMapOfInstanceTypeCheck ()
 
V8_INLINE constexpr std::optional< RootIndexUniqueMapOfInstanceType (InstanceType type)
 
bool MayHaveMapCheckFastCase (InstanceType type)
 
V8_INLINE constexpr bool IsHeapObject (InstanceType instance_type)
 
V8_INLINE constexpr bool IsInternalizedString (InstanceType instance_type)
 
V8_INLINE bool IsInternalizedString (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsSeqString (InstanceType instance_type)
 
V8_INLINE bool IsSeqString (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsExternalString (InstanceType instance_type)
 
V8_INLINE bool IsExternalString (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsUncachedExternalString (InstanceType instance_type)
 
V8_INLINE bool IsUncachedExternalString (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsConsString (InstanceType instance_type)
 
V8_INLINE bool IsConsString (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsSlicedString (InstanceType instance_type)
 
V8_INLINE bool IsSlicedString (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsThinString (InstanceType instance_type)
 
V8_INLINE bool IsThinString (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsOneByteString (InstanceType instance_type)
 
V8_INLINE bool IsOneByteString (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsTwoByteString (InstanceType instance_type)
 
V8_INLINE bool IsTwoByteString (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsReferenceComparable (InstanceType instance_type)
 
V8_INLINE constexpr bool IsGcSafeCode (InstanceType instance_type)
 
V8_INLINE bool IsGcSafeCode (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsAbstractCode (InstanceType instance_type)
 
V8_INLINE bool IsAbstractCode (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsFreeSpaceOrFiller (InstanceType instance_type)
 
V8_INLINE bool IsFreeSpaceOrFiller (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsMaybeReadOnlyJSObject (InstanceType instance_type)
 
V8_INLINE bool IsMaybeReadOnlyJSObject (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsPropertyDictionary (InstanceType instance_type)
 
V8_INLINE bool IsPropertyDictionary (Tagged< Map > map_object)
 
V8_INLINE constexpr bool IsNativeContextSpecific (InstanceType instance_type)
 
V8_INLINE bool IsNativeContextSpecificMap (Tagged< Map > map_object)
 

Variables

constexpr Tagged_t kNonJsReceiverMapLimit = 0x0
 

Typedef Documentation

◆ InstanceTypeRange

◆ TaggedAddressRange

Function Documentation

◆ IsAbstractCode() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsAbstractCode ( InstanceType instance_type)
constexpr

Definition at line 444 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsAbstractCode() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsAbstractCode ( Tagged< Map > map_object)

Definition at line 448 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsConsString() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsConsString ( InstanceType instance_type)
constexpr

Definition at line 360 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsConsString() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsConsString ( Tagged< Map > map_object)

Definition at line 364 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsExternalString() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsExternalString ( InstanceType instance_type)
constexpr

Definition at line 331 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsExternalString() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsExternalString ( Tagged< Map > map_object)

Definition at line 336 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsFreeSpaceOrFiller() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsFreeSpaceOrFiller ( InstanceType instance_type)
constexpr

Definition at line 452 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsFreeSpaceOrFiller() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsFreeSpaceOrFiller ( Tagged< Map > map_object)

Definition at line 456 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsGcSafeCode() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsGcSafeCode ( InstanceType instance_type)
constexpr

Definition at line 436 of file instance-type-inl.h.

◆ IsGcSafeCode() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsGcSafeCode ( Tagged< Map > map_object)

Definition at line 440 of file instance-type-inl.h.

◆ IsHeapObject()

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsHeapObject ( InstanceType instance_type)
constexpr

Definition at line 298 of file instance-type-inl.h.

◆ IsInternalizedString() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsInternalizedString ( InstanceType instance_type)
constexpr

Definition at line 302 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsInternalizedString() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsInternalizedString ( Tagged< Map > map_object)

Definition at line 308 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsMaybeReadOnlyJSObject() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsMaybeReadOnlyJSObject ( InstanceType instance_type)
constexpr

Definition at line 464 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsMaybeReadOnlyJSObject() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsMaybeReadOnlyJSObject ( Tagged< Map > map_object)

Definition at line 468 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsNativeContextSpecific()

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsNativeContextSpecific ( InstanceType instance_type)
constexpr

Definition at line 482 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsNativeContextSpecificMap()

V8_INLINE bool v8::internal::InstanceTypeChecker::IsNativeContextSpecificMap ( Tagged< Map > map_object)

Definition at line 510 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsOneByteString() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsOneByteString ( InstanceType instance_type)
constexpr

Definition at line 399 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsOneByteString() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsOneByteString ( Tagged< Map > map_object)

Definition at line 404 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsPropertyDictionary() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsPropertyDictionary ( InstanceType instance_type)
constexpr

Definition at line 472 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsPropertyDictionary() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsPropertyDictionary ( Tagged< Map > map_object)

Definition at line 476 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsReferenceComparable()

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsReferenceComparable ( InstanceType instance_type)
constexpr

Definition at line 431 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsSeqString() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsSeqString ( InstanceType instance_type)
constexpr

Definition at line 317 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsSeqString() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsSeqString ( Tagged< Map > map_object)

Definition at line 322 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsSlicedString() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsSlicedString ( InstanceType instance_type)
constexpr

Definition at line 373 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsSlicedString() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsSlicedString ( Tagged< Map > map_object)

Definition at line 377 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsThinString() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsThinString ( InstanceType instance_type)
constexpr

Definition at line 386 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsThinString() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsThinString ( Tagged< Map > map_object)

Definition at line 390 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsTwoByteString() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsTwoByteString ( InstanceType instance_type)
constexpr

Definition at line 415 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsTwoByteString() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsTwoByteString ( Tagged< Map > map_object)

Definition at line 420 of file instance-type-inl.h.

Here is the call graph for this function:

◆ IsUncachedExternalString() [1/2]

V8_INLINE constexpr bool v8::internal::InstanceTypeChecker::IsUncachedExternalString ( InstanceType instance_type)
constexpr

Definition at line 345 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ IsUncachedExternalString() [2/2]

V8_INLINE bool v8::internal::InstanceTypeChecker::IsUncachedExternalString ( Tagged< Map > map_object)

Definition at line 351 of file instance-type-inl.h.

Here is the call graph for this function:

◆ MayHaveMapCheckFastCase()

bool v8::internal::InstanceTypeChecker::MayHaveMapCheckFastCase ( InstanceType type)
inline

Definition at line 188 of file instance-type-inl.h.

Here is the caller graph for this function:

◆ UniqueMapOfInstanceType()

V8_INLINE constexpr std::optional< RootIndex > v8::internal::InstanceTypeChecker::UniqueMapOfInstanceType ( InstanceType type)
constexpr

Definition at line 58 of file instance-type-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UniqueMapOfInstanceTypeCheck()

template<class type >
V8_INLINE consteval std::optional< RootIndex > v8::internal::InstanceTypeChecker::UniqueMapOfInstanceTypeCheck ( )
consteval

Definition at line 45 of file instance-type-inl.h.

Variable Documentation

◆ kNonJsReceiverMapLimit

Tagged_t v8::internal::InstanceTypeChecker::kNonJsReceiverMapLimit = 0x0
constexpr

Definition at line 95 of file instance-type-checker.h.