diff options
author | Martin Liska <mliska@suse.cz> | 2015-06-01 14:29:12 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2015-06-01 12:29:12 +0000 |
commit | 7d50111bc5df13eab9a7bfe2474d259624abe5d3 (patch) | |
tree | 5e5b7af70400998f92983d09f4c721873f8f42be /gcc/lra.c | |
parent | 32d48af55ed76de590977ef9fc32f392523ff4d9 (diff) | |
download | gcc-7d50111bc5df13eab9a7bfe2474d259624abe5d3.zip gcc-7d50111bc5df13eab9a7bfe2474d259624abe5d3.tar.gz gcc-7d50111bc5df13eab9a7bfe2474d259624abe5d3.tar.bz2 |
Introduce new type-based pool allocator.
* alloc-pool.c (struct alloc_pool_descriptor): Move definition
to header file.
* alloc-pool.h (pool_allocator::pool_allocator): New function.
(pool_allocator::release): Likewise.
(inline pool_allocator::release_if_empty): Likewise.
(inline pool_allocator::~pool_allocator): Likewise.
(pool_allocator::allocate): Likewise.
(pool_allocator::remove): Likewise.
From-SVN: r223942
Diffstat (limited to 'gcc/lra.c')
0 files changed, 0 insertions, 0 deletions