This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Vector API tweaks
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Ben Elliston <bje at au1 dot ibm dot com>
- Date: Tue, 06 Jul 2004 09:47:58 -0700
- Subject: Re: Vector API tweaks
- Organization: CodeSourcery, LLC
- References: <40EAD524.9030905@codesourcery.com>
Nathan Sidwell wrote:
This patch makes a few changes to the vector API
1) Added a VEC_truncate call for O(1) deletion. Requested by Ben.
2) Added MEM_STAT_DECL and MEM_STAT_INFO stuff
3) Replaced the VEC_embedded_alloc with VEC_embedded_size &
VEC_embedded_init,
which are more flexible.
built & tested on i686-pc-linux gnu, ok?
OK.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com