Enhance pool allocator
commitbc1ca81d793c65b2177b7cc7a53d058a3929c11c
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Nov 2015 12:27:33 +0000 (10 12:27 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Nov 2015 12:27:33 +0000 (10 12:27 +0000)
treee3f101b43dd441f9e25403f1f28c3ccfca3bc5cc
parent0852690bc3d7536632b661ccf262bb6423fc5d9e
Enhance pool allocator

* alloc-pool.h (allocate_raw): New function.
(operator new (size_t, object_allocator<T> &a)): Use the
function instead of object_allocator::allocate).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230105 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/alloc-pool.h