summaryrefslogtreecommitdiff
path: root/gcc/init-regs.c
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 /gcc/init-regs.c
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
Diffstat (limited to 'gcc/init-regs.c')
-rw-r--r--gcc/init-regs.c2
1 files changed, 1 insertions, 1 deletions
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",