This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
About get_insns()
- From: "wu chunmei" <flybirdy at 163 dot com>
- To: "gcc" <gcc at gcc dot gnu dot org>
- Date: Fri, 2 Apr 2004 10:17:46 +0800
- Subject: 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;
}