transparent way of inserting insns
Jim Wilson
wilson@specifixinc.com
Tue Jun 1 07:52:00 GMT 2004
Johnny Huynh wrote:
> I am trying to add another pass in gcc (for my own purposes) that needs to
> add some simple, non-control insns in a basic block before the register
> allocation pass. Is there a simple,transparent way of doing this?
See the comment immediately before the emit_insn_before function in
emit-rtl.c. There is also emit_insn_after.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list