aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@mvista.com>2004-01-17 22:11:58 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2004-01-17 22:11:58 +0000
commit589fe865e0e273a6694757ddd4bae1df884e6a6d (patch)
tree7de4afefa966b929d0319fac40149b2d67c66d26 /gcc/function.c
parent59415997a39850db94ecb3b67ebda2390be45632 (diff)
downloadgcc-589fe865e0e273a6694757ddd4bae1df884e6a6d.zip
gcc-589fe865e0e273a6694757ddd4bae1df884e6a6d.tar.gz
gcc-589fe865e0e273a6694757ddd4bae1df884e6a6d.tar.bz2
final.c (SEEN_BB, [...]): Define.
* final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define. (final_scan_insn): Update to take an additional SEEN argument. Emit a line note after the prologue. Make static. (line_note_exists): Remove. (final): Don't initialize line_note_exists. Update call to final_scan_insn. * output.h (final_scan_insn): Remove prologue. * function.c (set_insn_locators): Update comment. (thread_prologue_and_epilogue_insns): Add a comment. From-SVN: r76060
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 02f095a..2b710b4 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -1,6 +1,6 @@
/* Expands front end tree to back end RTL for GCC.
Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
- 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GCC.
@@ -7254,7 +7254,7 @@ record_insns (rtx insns, varray_type *vecp)
}
}
-/* Set the specified locator to the insn chain. */
+/* Set the locator of the insn chain starting at INSN to LOC. */
static void
set_insn_locators (rtx insn, int loc)
{
@@ -7895,6 +7895,7 @@ epilogue_done:
#endif
#ifdef HAVE_prologue
+ /* This is probably all useless now that we use locators. */
if (prologue_end)
{
rtx insn, prev;