diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-05 20:13:53 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-05 20:13:53 +0000 |
commit | 9c0a756f7c8679b99c754bc72eb1a7a2dd6618d2 (patch) | |
tree | 221512a33199a7175b67e219e51648c193b287dc /gcc/function.c | |
parent | 494d463ca679154e9d5b5d92d7b312006e6125f8 (diff) | |
download | gcc-9c0a756f7c8679b99c754bc72eb1a7a2dd6618d2.tar.gz |
* function.h (virtuals_instantiated): Declare.
* function.c: (virtuals_instantiated): Make global.
* calls.c (emit_library_call_value_1): Use
virtual_outgoing_args_rtx only if it hasn't been instantiated.
Otherwise, use the stack pointer directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41127 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c index c31029bc566..ee182580c2a 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -120,8 +120,10 @@ int current_function_sp_is_unchanging; int current_function_uses_only_leaf_regs; /* Nonzero once virtual register instantiation has been done. - assign_stack_local uses frame_pointer_rtx when this is nonzero. */ -static int virtuals_instantiated; + assign_stack_local uses frame_pointer_rtx when this is nonzero. + calls.c:emit_library_call_value_1 uses it to set up + post-instantiation libcalls. */ +int virtuals_instantiated; /* These variables hold pointers to functions to create and destroy target specific, per-function data structures. */ |