This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Cleanup constant pool in varasm.c


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]