GCC Middle and Back End API Reference
memory-block.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  memory_block_pool
 
struct  memory_block_pool::block_list
 

Functions

void * mempool_obstack_chunk_alloc (size_t) ATTRIBUTE_MALLOC
 
void mempool_obstack_chunk_free (void *)
 

Function Documentation

◆ mempool_obstack_chunk_alloc()

void * mempool_obstack_chunk_alloc ( size_t size)
extern
Allocate a chunk for obstack.  Use the pool if requested chunk size matches
the size of blocks in the pool.   

References memory_block_pool::allocate(), and memory_block_pool::block_size.

◆ mempool_obstack_chunk_free()

void mempool_obstack_chunk_free ( void * chunk)
extern
Free previously allocated obstack chunk.   

References memory_block_pool::block_size, and memory_block_pool::release().