GCC Middle and Back End API Reference
ggc_cache_remove< T > Struct Template Reference

#include <hash-traits.h>

Inheritance diagram for ggc_cache_remove< T >:
Collaboration diagram for ggc_cache_remove< T >:

Static Public Member Functions

static void ggc_maybe_mx (T &)
 
static int keep_cache_entry (T &e)
 
static void remove (T &)
 
static void ggc_mx (T &p)
 
static void pch_nx (T &p)
 
static void pch_nx (T &p, gt_pointer_operator op, void *cookie)
 

Detailed Description

template<typename T>
struct ggc_cache_remove< T >
Remover and marker for "cache" entries in gc memory.  These entries can
be deleted if there are no non-cache references to the data.   

Member Function Documentation

◆ ggc_maybe_mx()

template<typename T >
static void ggc_cache_remove< T >::ggc_maybe_mx ( T & )
inlinestatic

◆ ggc_mx()

template<typename T >
static void ggc_remove< T >::ggc_mx ( T & p)
inlinestaticinherited

References gt_ggc_mx().

Referenced by ggc_remove< T >::ggc_maybe_mx().

◆ keep_cache_entry()

template<typename T >
static int ggc_cache_remove< T >::keep_cache_entry ( T & e)
inlinestatic

References ggc_marked_p().

◆ pch_nx() [1/2]

template<typename T >
static void ggc_remove< T >::pch_nx ( T & p)
inlinestaticinherited

References gt_pch_nx().

◆ pch_nx() [2/2]

template<typename T >
static void ggc_remove< T >::pch_nx ( T & p,
gt_pointer_operator op,
void * cookie )
inlinestaticinherited

References NULL.

◆ remove()

template<typename T >
static void ggc_remove< T >::remove ( T & )
inlinestaticinherited

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