About get_insns()

wu chunmei flybirdy@163.com
Fri Apr 2 02:17:00 GMT 2004


Hi GCCers,
Thank you for reading my e-mail!

In gcc-3.3.3, it usually uses codes with the following pattern to insert RTX in the insns(adding them to the doubly-linked list):
 rtx 
 start_sequence();
 emit_***();
 seq=get_insns();
 end_sequence();
 
 The following is the definition of get_insns():
/* Emission of insns (adding them to the doubly-linked list).  */
/*???????          Where does this function achieve this           ????????*/

/* Return the first insn of the current sequence or current function.  */

rtx
get_insns ()
{
  return first_insn;
}





More information about the Gcc mailing list