summaryrefslogtreecommitdiff
path: root/gcc/cfglayout.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-16 08:27:05 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-16 08:27:05 +0000
commit0a3b3d880c4de5ff0fb816bc6c282cade7e1e5ae (patch)
tree2b5cb543169ef70477d25bcc0683bd89eb4851a2 /gcc/cfglayout.c
parent227ea5664211b8f4fa0c3bd56c876392877383c9 (diff)
downloadgcc-0a3b3d880c4de5ff0fb816bc6c282cade7e1e5ae.tar.gz
* function.h (struct emit_status): Remove x_last_linenum,
x_last_filename. Add x_last_location. * rtl.h: #include "input.h". (NOTE_DATA): New. * cfglayout.c (duplicate_insn_chain): Use emit_line_note for line number notes. * emit-rtl.c (last_linenum, last_filename): Remove. (last_location): New. (emit_line_note_after): LINE must always be >= 0. (emit_line_note): Likewise. Check not duplicate here... (emit_note): ... rather than here. (emit_line_note_force, force_next_line_note, init_emit): Adjust. * integrate.c (expand_inline_function): Use emit_line_note for line number notes. (copy_insn_list): Likewise. * unroll.c (copy_loop_body): Likewise. * Makefile.in (RTL_H): Add input.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68002 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r--gcc/cfglayout.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c
index 5bd3ca05655..d7303067212 100644
--- a/gcc/cfglayout.c
+++ b/gcc/cfglayout.c
@@ -1023,7 +1023,8 @@ duplicate_insn_chain (from, to)
abort ();
break;
case NOTE_INSN_REPEATED_LINE_NUMBER:
- emit_note (NOTE_SOURCE_FILE (insn), NOTE_LINE_NUMBER (insn));
+ emit_line_note (NOTE_SOURCE_FILE (insn),
+ NOTE_LINE_NUMBER (insn));
break;
default:
@@ -1031,7 +1032,8 @@ duplicate_insn_chain (from, to)
abort ();
/* It is possible that no_line_number is set and the note
won't be emitted. */
- emit_note (NOTE_SOURCE_FILE (insn), NOTE_LINE_NUMBER (insn));
+ emit_line_note (NOTE_SOURCE_FILE (insn),
+ NOTE_LINE_NUMBER (insn));
}
break;
default: