GCC Middle and Back End API Reference
|
#include <alloc-pool.h>
Public Member Functions | |
object_allocator (const char *name CXX_MEM_STAT_INFO) | |
void | release () |
void | release_if_empty () |
T * | allocate () ATTRIBUTE_MALLOC |
void * | allocate_raw () ATTRIBUTE_MALLOC |
void | remove (T *object) |
void | remove_raw (void *object) |
size_t | num_elts_current () |
Private Attributes | |
pool_allocator | m_allocator |
Type based memory pool allocator.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References object_allocator< T >::m_allocator, and base_pool_allocator< TBlockAllocator >::release().
Referenced by optimize_constant_pool().
|
inline |
|
inline |
|
inline |
|
private |