This is the mail archive of the gcc@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]
Other format: [Raw text]

About get_insns()


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;
}




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