summaryrefslogtreecommitdiffstats
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-02-12 12:22:11 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-02-12 12:22:11 +0000
commit1880403d8b139fcec87d67bc51d471b35fc649a8 (patch)
tree9e4d3026441e5d609c9b96ff8010e60058e18cf1 /gcc/integrate.c
parent7ff78d1d5dcfc64a45492502c50989fa48ccf131 (diff)
downloadppe42-gcc-1880403d8b139fcec87d67bc51d471b35fc649a8.tar.gz
ppe42-gcc-1880403d8b139fcec87d67bc51d471b35fc649a8.zip
(save_for_inline_copying): Put virtual regs into new regno_reg_rtx copy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11208 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r--gcc/integrate.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 199fcd95816..01644b5ce99 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -478,6 +478,12 @@ save_for_inline_copying (fndecl)
regno_reg_rtx = reg_map;
+ /* Put copies of all the virtual register rtx into the new regno_reg_rtx. */
+ regno_reg_rtx[VIRTUAL_INCOMING_ARGS_REGNUM] = virtual_incoming_args_rtx;
+ regno_reg_rtx[VIRTUAL_STACK_VARS_REGNUM] = virtual_stack_vars_rtx;
+ regno_reg_rtx[VIRTUAL_STACK_DYNAMIC_REGNUM] = virtual_stack_dynamic_rtx;
+ regno_reg_rtx[VIRTUAL_OUTGOING_ARGS_REGNUM] = virtual_outgoing_args_rtx;
+
/* Likewise each label rtx must have a unique rtx as its copy. */
label_map = (rtx *)alloca ((max_labelno - min_labelno) * sizeof (rtx));
OpenPOWER on IntegriCloud