v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
GCInfoFolding Struct Reference

#include <gc-info.h>

Public Types

using ResultType = std::conditional_t<(kHasVirtualDestructorAtBase||kBothTypesAreTriviallyDestructible||kHasCustomFinalizerDispatchAtBase) &&!kWantsDetailedObjectNames, ParentMostGarbageCollectedType, T >
 

Static Public Attributes

static constexpr bool kHasVirtualDestructorAtBase
 
static constexpr bool kBothTypesAreTriviallyDestructible
 
static constexpr bool kHasCustomFinalizerDispatchAtBase
 
static constexpr bool kWantsDetailedObjectNames = false
 

Detailed Description

Definition at line 115 of file gc-info.h.

Member Typedef Documentation

◆ ResultType

Definition at line 132 of file gc-info.h.

Field Documentation

◆ kBothTypesAreTriviallyDestructible

constexpr bool kBothTypesAreTriviallyDestructible
staticconstexpr
Initial value:
=
std::is_trivially_destructible<ParentMostGarbageCollectedType>::value &&
std::is_trivially_destructible<T>::value

Definition at line 118 of file gc-info.h.

◆ kHasCustomFinalizerDispatchAtBase

constexpr bool kHasCustomFinalizerDispatchAtBase
staticconstexpr
Initial value:
=
internal::HasFinalizeGarbageCollectedObject<
ParentMostGarbageCollectedType>::value

Definition at line 121 of file gc-info.h.

◆ kHasVirtualDestructorAtBase

constexpr bool kHasVirtualDestructorAtBase
staticconstexpr
Initial value:
=
std::has_virtual_destructor<ParentMostGarbageCollectedType>::value

Definition at line 116 of file gc-info.h.

◆ kWantsDetailedObjectNames

constexpr bool kWantsDetailedObjectNames = false
staticconstexpr

Definition at line 127 of file gc-info.h.


The documentation for this struct was generated from the following file: