diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-02-12 12:22:11 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-02-12 12:22:11 +0000 |
commit | 1880403d8b139fcec87d67bc51d471b35fc649a8 (patch) | |
tree | 9e4d3026441e5d609c9b96ff8010e60058e18cf1 /gcc/integrate.c | |
parent | 7ff78d1d5dcfc64a45492502c50989fa48ccf131 (diff) | |
download | ppe42-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.c | 6 |
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)); |