summaryrefslogtreecommitdiff
path: root/gcc/cfglayout.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-01 09:17:52 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-01 09:17:52 +0000
commit2f57e3d9f1ac57399fab63aed63efe9f8acfdcd5 (patch)
tree531c01fa64756756463c89f2a22ff43297319828 /gcc/cfglayout.c
parent92ddaf90ed78dc8b69ed78192f8c0f1baed05a69 (diff)
downloadgcc-2f57e3d9f1ac57399fab63aed63efe9f8acfdcd5.tar.gz
* rtl.h (emit_line_note_after): Remove.
(emit_note_copy_after, emit_note_copy): New. * emit-rtl.c (reorder_insns_with_line_notes): Replace emit_line_note_after with emit_note_copy_after. (emit_insn_after_with_line_notes): Likewise. (emit_line_note_after): Kill. (emit_note_copy_after): New. (emit_note_copy): New. * function.c (emit_return_into_block): Use emit_note_copy_after. (thread_prologue_and_epilogue_insns): Likewise. * integrate.c (expand_inline_function): Use emit_note_copy. (copy_insn_list): Likewise. * unroll.c (copy_loop_body): Likewise. * cfglayout.c (duplicate_insn_chain): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68767 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r--gcc/cfglayout.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c
index 736d8887ec5..12cc255293d 100644
--- a/gcc/cfglayout.c
+++ b/gcc/cfglayout.c
@@ -1008,8 +1008,7 @@ duplicate_insn_chain (rtx from, rtx to)
abort ();
break;
case NOTE_INSN_REPEATED_LINE_NUMBER:
- emit_line_note (NOTE_SOURCE_FILE (insn),
- NOTE_LINE_NUMBER (insn));
+ emit_note_copy (insn);
break;
default:
@@ -1017,8 +1016,7 @@ duplicate_insn_chain (rtx from, rtx to)
abort ();
/* It is possible that no_line_number is set and the note
won't be emitted. */
- emit_line_note (NOTE_SOURCE_FILE (insn),
- NOTE_LINE_NUMBER (insn));
+ emit_note_copy (insn);
}
break;
default: