#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"
Go to the source code of this file.
|
#define | DISPATCH(has_finalizer, has_non_hidden_name, function) |
|
|
| DISPATCH (true, true, EnsureGCInfoIndex(registered_index, TraceTrait< T >::Trace, FinalizerTrait< T >::kCallback, NameTrait< T >::GetName)) DISPATCH(true |
|
| EnsureGCInfoIndex (registered_index, TraceTrait< T >::Trace, FinalizerTrait< T >::kCallback)) DISPATCH(false |
|
| EnsureGCInfoIndex (registered_index, TraceTrait< T >::Trace, NameTrait< T >::GetName)) DISPATCH(false |
|
| EnsureGCInfoIndex (registered_index, TraceTrait< T >::Trace)) template< typename T > struct GCInfoTrait final |
|
◆ DISPATCH
#define DISPATCH |
( |
|
has_finalizer, |
|
|
|
has_non_hidden_name, |
|
|
|
function |
|
) |
| |
Value: template <typename T> \
struct EnsureGCInfoIndexTrait::EnsureGCInfoIndexTraitDispatch< \
T, has_finalizer, has_non_hidden_name> { \
operator()(std::atomic<GCInfoIndex>& registered_index) { \
return function; \
} \
};
Definition at line 48 of file gc-info.h.