Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
v8::internal Namespace Reference

Namespaces

 wasm
 

Classes

struct  GetCType
 
struct  GetCType< void >
 
struct  GetCType< bool >
 
struct  GetCType< int32_t >
 
struct  GetCType< uint32_t >
 
struct  GetCType< int64_t >
 
struct  GetCType< uint64_t >
 
struct  GetCType< float >
 
struct  GetCType< double >
 
struct  GetCType< ApiObject >
 
struct  GetCTypePointerImpl
 
struct  GetCTypePointerImpl< T, void >
 
struct  GetCTypePointerPointerImpl
 
struct  GetCTypePointerPointerImpl< T, void >
 
struct  GetCType< T ** >
 
struct  GetCType< T * >
 
struct  count
 
struct  count< T, T, Args... >
 
struct  count< T, U, Args... >
 
class  CFunctionInfoImpl
 
struct  SmiTagging
 
struct  SmiTagging< 4 >
 
struct  SmiTagging< 8 >
 
class  Internals
 
struct  CastCheck
 
class  BackingStoreBase
 
class  Arguments
 
class  CustomArguments
 

Typedefs

typedef uintptr_t Address
 
using ExternalPointer_t = Address
 
using PlatformSmiTagging = SmiTagging< kApiTaggedSize >
 

Enumerations

enum  ExternalPointerTag : Address {
  kExternalPointerNullTag = static_cast<Address>(0ULL) , kArrayBufferBackingStoreTag = static_cast<Address>(1ULL << 48) , kTypedArrayExternalPointerTag = static_cast<Address>(2ULL << 48) , kDataViewDataPointerTag = static_cast<Address>(3ULL << 48) ,
  kExternalStringResourceTag = static_cast<Address>(4ULL << 48) , kExternalStringResourceDataTag = static_cast<Address>(5ULL << 48) , kForeignForeignAddressTag = static_cast<Address>(6ULL << 48) , kNativeContextMicrotaskQueueTag = static_cast<Address>(7ULL << 48) ,
  kEmbedderDataSlotPayloadTag = static_cast<Address>(0ULL << 48)
}
 

Functions

constexpr bool PointerCompressionIsEnabled ()
 
constexpr bool HeapSandboxIsEnabled ()
 
constexpr bool SmiValuesAre31Bits ()
 
constexpr bool SmiValuesAre32Bits ()
 
Address DecodeExternalPointerImpl (const Isolate *isolate, ExternalPointer_t pointer, ExternalPointerTag tag)
 
internal::Isolate * IsolateFromNeverReadOnlySpaceObject (Address obj)
 
bool ShouldThrowOnError (v8::internal::Isolate *isolate)
 
template<class T >
void PerformCastCheck (T *data)
 

Variables

const int kApiSystemPointerSize = sizeof(void*)
 
const int kApiDoubleSize = sizeof(double)
 
const int kApiInt32Size = sizeof(int32_t)
 
const int kApiInt64Size = sizeof(int64_t)
 
const int kHeapObjectTag = 1
 
const int kWeakHeapObjectTag = 3
 
const int kHeapObjectTagSize = 2
 
const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1
 
const int kSmiTag = 0
 
const int kSmiTagSize = 1
 
const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1
 
constexpr intptr_t kIntptrAllBitsSet = intptr_t{-1}
 
constexpr uintptr_t kUintptrAllBitsSet
 
const int kApiTaggedSize = kApiSystemPointerSize
 
const int kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize
 
const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize
 
const int kSmiMinValue = static_cast<int>(PlatformSmiTagging::kSmiMinValue)
 
const int kSmiMaxValue = static_cast<int>(PlatformSmiTagging::kSmiMaxValue)
 

Typedef Documentation

◆ Address

typedef uintptr_t v8::internal::Address

◆ ExternalPointer_t

◆ PlatformSmiTagging

Enumeration Type Documentation

◆ ExternalPointerTag

Enumerator
kExternalPointerNullTag 
kArrayBufferBackingStoreTag 
kTypedArrayExternalPointerTag 
kDataViewDataPointerTag 
kExternalStringResourceTag 
kExternalStringResourceDataTag 
kForeignForeignAddressTag 
kNativeContextMicrotaskQueueTag 
kEmbedderDataSlotPayloadTag 

Function Documentation

◆ DecodeExternalPointerImpl()

Address v8::internal::DecodeExternalPointerImpl ( const Isolate isolate,
ExternalPointer_t  pointer,
ExternalPointerTag  tag 
)
Here is the caller graph for this function:

◆ HeapSandboxIsEnabled()

constexpr bool v8::internal::HeapSandboxIsEnabled ( )
constexpr

◆ IsolateFromNeverReadOnlySpaceObject()

internal::Isolate* v8::internal::IsolateFromNeverReadOnlySpaceObject ( Address  obj)
Here is the caller graph for this function:

◆ PerformCastCheck()

template<class T >
void v8::internal::PerformCastCheck ( T *  data)
inline
Here is the caller graph for this function:

◆ PointerCompressionIsEnabled()

constexpr bool v8::internal::PointerCompressionIsEnabled ( )
constexpr

◆ ShouldThrowOnError()

bool v8::internal::ShouldThrowOnError ( v8::internal::Isolate *  isolate)

◆ SmiValuesAre31Bits()

constexpr bool v8::internal::SmiValuesAre31Bits ( )
constexpr

◆ SmiValuesAre32Bits()

constexpr bool v8::internal::SmiValuesAre32Bits ( )
constexpr

Variable Documentation

◆ kApiDoubleSize

const int v8::internal::kApiDoubleSize = sizeof(double)

◆ kApiInt32Size

const int v8::internal::kApiInt32Size = sizeof(int32_t)

◆ kApiInt64Size

const int v8::internal::kApiInt64Size = sizeof(int64_t)

◆ kApiSystemPointerSize

const int v8::internal::kApiSystemPointerSize = sizeof(void*)

Configuration of tagging scheme.

◆ kApiTaggedSize

const int v8::internal::kApiTaggedSize = kApiSystemPointerSize

◆ kHeapObjectTag

const int v8::internal::kHeapObjectTag = 1

◆ kHeapObjectTagMask

const intptr_t v8::internal::kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1

◆ kHeapObjectTagSize

const int v8::internal::kHeapObjectTagSize = 2

◆ kIntptrAllBitsSet

constexpr intptr_t v8::internal::kIntptrAllBitsSet = intptr_t{-1}
constexpr

◆ kSmiMaxValue

const int v8::internal::kSmiMaxValue = static_cast<int>(PlatformSmiTagging::kSmiMaxValue)

◆ kSmiMinValue

const int v8::internal::kSmiMinValue = static_cast<int>(PlatformSmiTagging::kSmiMinValue)

◆ kSmiShiftSize

const int v8::internal::kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize

◆ kSmiTag

const int v8::internal::kSmiTag = 0

◆ kSmiTagMask

const intptr_t v8::internal::kSmiTagMask = (1 << kSmiTagSize) - 1

◆ kSmiTagSize

const int v8::internal::kSmiTagSize = 1

◆ kSmiValueSize

const int v8::internal::kSmiValueSize = PlatformSmiTagging::kSmiValueSize

◆ kUintptrAllBitsSet

constexpr uintptr_t v8::internal::kUintptrAllBitsSet
constexpr
Initial value:
=
static_cast<uintptr_t>(kIntptrAllBitsSet)
constexpr intptr_t kIntptrAllBitsSet
Definition: v8-internal.h:51

◆ kWeakHeapObjectTag

const int v8::internal::kWeakHeapObjectTag = 3