From: Jeff Law Date: Wed, 4 Jan 1995 09:26:45 +0000 (-0700) Subject: pa.md (call expander): Use emit_insn_before to emit an insn to save the PIC register... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58bbca8efb4c1c8554689f3aa527b89f7d8bd895;p=gcc.git pa.md (call expander): Use emit_insn_before to emit an insn to save the PIC register before a function... * pa.md (call expander): Use emit_insn_before to emit an insn to save the PIC register before a function call. (call_value expander): Likewise. From-SVN: r8718 --- diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 43ce61090a3..b7c187c19a9 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -3195,12 +3195,10 @@ if (!hppa_save_pic_table_rtx) { hppa_save_pic_table_rtx = gen_reg_rtx (Pmode); - push_topmost_sequence (); - emit_insn_after (gen_rtx (SET, VOIDmode, + emit_insn_before (gen_rtx (SET, VOIDmode, hppa_save_pic_table_rtx, pic_offset_table_rtx), - get_insns ()); - pop_topmost_sequence (); + call_insn); } emit_insn (gen_rtx (SET, VOIDmode, pic_offset_table_rtx, @@ -3293,12 +3291,10 @@ if (!hppa_save_pic_table_rtx) { hppa_save_pic_table_rtx = gen_reg_rtx (Pmode); - push_topmost_sequence (); - emit_insn_after (gen_rtx (SET, VOIDmode, + emit_insn_before (gen_rtx (SET, VOIDmode, hppa_save_pic_table_rtx, pic_offset_table_rtx), - get_insns ()); - pop_topmost_sequence (); + call_insn); } emit_insn (gen_rtx (SET, VOIDmode, pic_offset_table_rtx,