This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Cleanup constant pool in varasm.c
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [PATCH] Cleanup constant pool in varasm.c
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 13 Nov 2000 11:46:21 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20001106143436.K6915@sunsite.ms.mff.cuni.cz>
On Mon, Nov 06, 2000 at 02:34:37PM +0100, Jakub Jelinek wrote:
> * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
> to array of pool_constnat pointers.
> (struct pool_constant): Add next_sym and label members.
> (struct pool_sym): Remove.
> (init_varasm_status): Change pool_sym into pool_constant.
> (mark_pool_constant): Mark pc->label string as well.
> (mark_pool_sym_hash_table): Remove.
> (mark_varasm_status): Remove it from caller as well.
> (free_varasm_status): Don't free pool_sym structures.
> (force_const_mem): Don't allocate pool_sym structure, instead
> fill pool->label and chain it into rtx_sym hash table.
> (find_pool_constant, mark_constant_pool): Use pool_constant instead
> of pool_sym.
Ok.
r~