diff options
author | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-06-16 08:27:05 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-06-16 08:27:05 +0000 |
commit | fd3acbb3a2c176dc658f2b957c3693dfebb2ae7e (patch) | |
tree | 2b5cb543169ef70477d25bcc0683bd89eb4851a2 /gcc/cfglayout.c | |
parent | 695a94b30aef2dbf9d30e96d02c8fdfa5d99c3eb (diff) | |
download | gcc-fd3acbb3a2c176dc658f2b957c3693dfebb2ae7e.zip gcc-fd3acbb3a2c176dc658f2b957c3693dfebb2ae7e.tar.gz gcc-fd3acbb3a2c176dc658f2b957c3693dfebb2ae7e.tar.bz2 |
function.h (struct emit_status): Remove x_last_linenum, x_last_filename.
* 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.
From-SVN: r68002
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r-- | gcc/cfglayout.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index 5bd3ca0..d730306 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: |