summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-05 20:55:03 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-05 20:55:03 +0000
commit4d9a38ce14c95e4b2a148bd17146efdc0008930a (patch)
tree71afa5b61bf90ca6d8911a51769739fd8c0fb69e
parent4a3d0276b621589691bfccb87c4b27c5006c1ff3 (diff)
downloadgcc-4d9a38ce14c95e4b2a148bd17146efdc0008930a.tar.gz
* init-regs.c (initialize_uninitialized_regs): Call
emit_insn_before rather than add_insn_before. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128152 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/init-regs.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1fc081b60fc..0c5c63200bc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-05 Ian Lance Taylor <iant@google.com>
+
+ * init-regs.c (initialize_uninitialized_regs): Call
+ emit_insn_before rather than add_insn_before.
+
2007-09-05 Jakub Jelinek <jakub@redhat.com>
* builtins.def (BUILT_IN_VA_ARG_PACK): New built-in.
diff --git a/gcc/init-regs.c b/gcc/init-regs.c
index 118957ff011..40e7b13ab79 100644
--- a/gcc/init-regs.c
+++ b/gcc/init-regs.c
@@ -106,7 +106,7 @@ initialize_uninitialized_regs (void)
emit_move_insn (reg, CONST0_RTX (GET_MODE (reg)));
move_insn = get_insns ();
end_sequence ();
- add_insn_before (move_insn, insn, bb);
+ emit_insn_before (move_insn, insn);
if (dump_file)
fprintf (dump_file,
"adding initialization in %s of reg %d at in block %d for insn %d.\n",