init-regs.c (initialize_uninitialized_regs): Call emit_insn_before rather than add_insn_before.

* init-regs.c (initialize_uninitialized_regs): Call
	emit_insn_before rather than add_insn_before.

From-SVN: r128152
This commit is contained in:
Ian Lance Taylor 2007-09-05 20:55:03 +00:00 committed by Ian Lance Taylor
parent f86bfcab9b
commit e2d3b29484
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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",