aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2001-01-10 18:35:50 +0000
committerJeff Law <law@gcc.gnu.org>2001-01-10 11:35:50 -0700
commit87c61e2d0d6bfe5d3b1da97a1e8d18360098ce41 (patch)
tree57b53e0d6d77ed0a87eeb3772a55380f0bd4e66d /gcc/function.c
parent930bbdd224b912a7e8aa8c3c8f05808ccc65c25c (diff)
downloadgcc-87c61e2d0d6bfe5d3b1da97a1e8d18360098ce41.zip
gcc-87c61e2d0d6bfe5d3b1da97a1e8d18360098ce41.tar.gz
gcc-87c61e2d0d6bfe5d3b1da97a1e8d18360098ce41.tar.bz2
function.c (instantiate_virtual_regs): Instantiate virtual registers found in CALL_INSN_FUNCTION_USAGE.
* function.c (instantiate_virtual_regs): Instantiate virtual registers found in CALL_INSN_FUNCTION_USAGE. From-SVN: r38873
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index c79e17c..133852e 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -3515,6 +3515,10 @@ instantiate_virtual_regs (fndecl, insns)
{
instantiate_virtual_regs_1 (&PATTERN (insn), insn, 1);
instantiate_virtual_regs_1 (&REG_NOTES (insn), NULL_RTX, 0);
+ /* Instantiate any virtual registers in CALL_INSN_FUNCTION_USAGE. */
+ if (GET_CODE (insn) == CALL_INSN)
+ instantiate_virtual_regs_1 (&CALL_INSN_FUNCTION_USAGE (insn),
+ NULL_RTX, 0);
}
/* Instantiate the stack slots for the parm registers, for later use in