From 58bbca8efb4c1c8554689f3aa527b89f7d8bd895 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 4 Jan 1995 02:26:45 -0700 Subject: [PATCH] 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 --- gcc/config/pa/pa.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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, -- 2.30.2