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: Small preparatory cleanup patch



  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



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