diff options
author | Teresa Johnson <tejohnson@google.com> | 2013-07-11 21:32:14 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@gcc.gnu.org> | 2013-07-11 21:32:14 +0000 |
commit | 7b24b675378a69ff254e4a4b5faa3615d4abd84d (patch) | |
tree | d76fb8801d882b05bf1c9285d1a89d33bf3b002e /gcc/cp/class.c | |
parent | 85d4cbb878c645fbb76838f228ac24cd4c898212 (diff) | |
download | gcc-7b24b675378a69ff254e4a4b5faa3615d4abd84d.zip gcc-7b24b675378a69ff254e4a4b5faa3615d4abd84d.tar.gz gcc-7b24b675378a69ff254e4a4b5faa3615d4abd84d.tar.bz2 |
This patch adds a call to ggc_free from va_gc::release, which is called by vec_free.
This patch adds a call to ggc_free from va_gc::release, which is
called by vec_free. This restores the functionality of the old VEC_free
and reduces the memory footprint during compilation.
2013-07-11 Teresa Johnson <tejohnson@google.com>
* vec.h (struct va_gc): Move release out-of-line.
(va_gc::release): Call ggc_free on released vec.
From-SVN: r200909
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions