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: Basic block boundaries, again



  In message <Pine.SOL.3.90.981002144733.14944G@jennifer.informatik.rwth-aachen
.de>you write:
  > Here's a patch that fixes caller-save to update basic_block_head and
  > basic_block_end when it inserts new insns.
  > 
  > Bernd
  > 
  > 	* caller-save.c (insert_save_restore): Break this function up
  > 	into new functions insert_restore, insert_save and insert_one_insn.
  > 	All callers changed.
  > 	(insert_restore): New function, mostly broken out of
  > 	insert_save_restore.
  > 	(insert_save): Likewise.
  > 	(insert_one_insn): Likewise.
  > 	(restore_referenced_regs): New argument BLOCK.  All callers changed.
  > 	(save_call_clobbered_regs): Don't keep track of basic block boundaries
  > 	in this function, do it in insert_one_insn instead.
Thanks.  Installed.
jeff


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