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]
Other format: [Raw text]

Re: Cleanup some rtl cruft


On Wednesday 10 November 2004 22:42, Steven Bosscher wrote:
> 	* except.c (duplicate_eh_region_1, duplicate_eh_region_2,
> 	duplicate_eh_regions): Remove.
> 	* except.h (duplicate_eh_regions): Remove prototype.
> 	* integrate.c (get_label_from_map, copy_rtx_and_substitute,
> 	global_const_equiv_varray): Remove.
> 	* integrate.h (get_label_from_map, copy_rtx_and_substitute,
> 	global_const_equiv_varray, set_label_in_map): Remove prototypes,
> 	extern declaration, and #define.
> 	(MAYBE_EXTEND_CONST_EQUIV_VARRAY, SET_CONST_EQUIV_DATA): Remove.
> 	(struct inline_remap): Remove.
> 	* varray.c (struct element): Remove entry for const_equiv_data.
> 	* varray.h (struct const_equiv_data): Remove.
> 	(enum varray_data_enum) <VARRAY_DATA_CONST_EQUIV>: Remove.
> 	(union varray_data_tag) <const_equiv>: Remove.
> 	(VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV,
> 	VARRAY_PUSH_CONST_EQUIV, VARRAY_TOP_CONST_EQUIV): Remove.

Two people mentioned that those duplicate_eh_region* functions are
used for the CFG inliner.  I know.  But those functions are slightly
different.  We can remove the mainline, RTL based versions and clean
up integrate.[ch], and later when we merge the cfg inliner we can
put the new versions back.

Gr.
Steven



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