Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
gc-info.h File Reference
#include <atomic>
#include <cstdint>
#include <type_traits>
#include "cppgc/internal/finalizer-trait.h"
#include "cppgc/internal/logging.h"
#include "cppgc/internal/name-trait.h"
#include "cppgc/trace-trait.h"
#include "v8config.h"
Include dependency graph for gc-info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cppgc::internal::EnsureGCInfoIndexTrait
 
struct  cppgc::internal::EnsureGCInfoIndexTrait::EnsureGCInfoIndexTraitDispatch< T, true, true >
 
struct  cppgc::internal::EnsureGCInfoIndexTrait::EnsureGCInfoIndexTraitDispatch< T, true, false >
 
struct  cppgc::internal::EnsureGCInfoIndexTrait::EnsureGCInfoIndexTraitDispatch< T, false, true >
 
struct  cppgc::internal::EnsureGCInfoIndexTrait::EnsureGCInfoIndexTraitDispatch< T, false, false >
 
struct  cppgc::internal::GCInfoTrait< T >
 
struct  cppgc::internal::GCInfoFolding< T, ParentMostGarbageCollectedType >
 

Namespaces

namespace  cppgc
 
namespace  cppgc::internal
 

Macros

#define DISPATCH(has_finalizer, has_non_hidden_name, function)
 

Typedefs

using cppgc::internal::GCInfoIndex = uint16_t
 

Macro Definition Documentation

◆ DISPATCH

#define DISPATCH (   has_finalizer,
  has_non_hidden_name,
  function 
)
Value:
template <typename T> \
struct EnsureGCInfoIndexTrait::EnsureGCInfoIndexTraitDispatch< \
T, has_finalizer, has_non_hidden_name> { \
V8_INLINE GCInfoIndex \
operator()(std::atomic<GCInfoIndex>& registered_index) { \
return function; \
} \
};
#define V8_INLINE
Definition: v8config.h:499