This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libiberty: hashtab allocation functions with an extra argument
On Wed, Jan 15, 2003 at 03:54:47PM -0500, DJ Delorie wrote:
>
> > We still need alternate allocation functions and more space in the
> > htab, because we have to pass in the actual extra argument somehow.
>
> More space in the htab for the pointer, yes. I'm trying to avoid more
> space just for alternate alloc/free functions. GCC is already having
> growing pains from structure creep.
OK. I can kill the extra functions without having to play games with
first argument / last argument; we can just cast them when we use them.
Is that OK, or do you want to see if anyone knows about the extra last
argument?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer