aboutsummaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-04-21 19:32:10 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-04-21 15:32:10 -0400
commitb3b42a4db6bd74ef385b4efbcf92ba621f35999f (patch)
tree9ad1235a2087bdb5a1b90471613c6954a032f6d4 /gcc/profile.c
parentc5e1237fde9577950fa7854a30da98d75703aa36 (diff)
downloadgcc-b3b42a4db6bd74ef385b4efbcf92ba621f35999f.zip
gcc-b3b42a4db6bd74ef385b4efbcf92ba621f35999f.tar.gz
gcc-b3b42a4db6bd74ef385b4efbcf92ba621f35999f.tar.bz2
rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
* rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG. * rtl.h: Likewise. * rtl.def: Update comment. * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER. * integrate.c (expand_inline_function): Likewise. * profile.c (branch_prob): Likewise. * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG. * print-rtl.c (print_rtx): Likewise. * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise. (reemit_notes): Likewise; also use enum insn_note. From-SVN: r33314
Diffstat (limited to 'gcc/profile.c')
-rw-r--r--gcc/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/profile.c b/gcc/profile.c
index 27f72fa..d8e2d62 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -819,7 +819,7 @@ branch_prob (f, dump_file)
/* Must ignore the line number notes that immediately follow the
end of an inline function to avoid counting it twice. There
is a note before the call, and one after the call. */
- if (NOTE_LINE_NUMBER (insn) == NOTE_REPEATED_LINE_NUMBER)
+ if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_REPEATED_LINE_NUMBER)
ignore_next_note = 1;
else if (NOTE_LINE_NUMBER (insn) > 0)
{