summaryrefslogtreecommitdiffstats
path: root/gcc/profile.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-21 19:32:10 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-21 19:32:10 +0000
commit87e9bf8717a584048037479f251611ec8924903d (patch)
tree9ad1235a2087bdb5a1b90471613c6954a032f6d4 /gcc/profile.c
parent4e5bf5559459aaceabf2f13e840eb93b4a934bce (diff)
downloadppe42-gcc-87e9bf8717a584048037479f251611ec8924903d.tar.gz
ppe42-gcc-87e9bf8717a584048037479f251611ec8924903d.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33314 138bc75d-0d04-0410-961f-82ee72b054a4
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 27f72fa1788..d8e2d62e62a 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)
{
OpenPOWER on IntegriCloud