* init-regs.c (initialize_uninitialized_regs): Call
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Sep 2007 20:55:03 +0000 (20:55 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Sep 2007 20:55:03 +0000 (20:55 +0000)
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

gcc/ChangeLog
gcc/init-regs.c

index 1fc081b..0c5c632 100644 (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.
index 118957f..40e7b13 100644 (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",