This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Small preparatory cleanup patch
- To: Bernd Schmidt <crux at pool dot informatik dot rwth-aachen dot de>
- Subject: Re: Small preparatory cleanup patch
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 23 Oct 1998 00:09:01 -0600
- cc: egcs-patches at cygnus dot com, dje at watson dot ibm dot com
- Reply-To: law at cygnus dot com
In message <Pine.GSO.4.02A.9810221140400.12235-100000@colt.informatik.rwth-aa
chen.de>you write:
> Before I send the next parts of the extract_insn changes, here is a small
> patch that makes part of the affected code more readable so that it's
> easier to verify the next patch. This patch shouldn't change any behaviour
>
> Bernd
>
> * regclass.c (regclass): Break out some code into new function
> scan_one_insn, and into regclass_init.
> (init_cost): New static variable, moved out of regclass.
> (regclass_init): Initialize it here, not in .
> (scan_one_insn): New static function, broken out of regclass.
> * recog.c (apply_change_group): Break out some code into new
> function insn_invalid_p.
> (insn_invalid_p): New static fn, broken out of apply_change_group.
Thanks. I've installed this patch.
David -- I don't think this conflicts with your regclass.c patch that Jim
approved (I can't find it at the moment, but I think it dealt with the
constraint parsing).
jeff