summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-05 20:13:53 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-05 20:13:53 +0000
commit9c0a756f7c8679b99c754bc72eb1a7a2dd6618d2 (patch)
tree221512a33199a7175b67e219e51648c193b287dc /gcc/function.h
parent494d463ca679154e9d5b5d92d7b312006e6125f8 (diff)
downloadgcc-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.h')
-rw-r--r--gcc/function.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 5621c6b581d..f27c2b01846 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -481,6 +481,9 @@ extern struct function *cfun;
/* A list of all functions we have compiled so far. */
extern struct function *all_functions;
+/* Nonzero if we've already converted virtual regs to hard regs. */
+extern int virtuals_instantiated;
+
/* For backward compatibility... eventually these should all go away. */
#define current_function_name (cfun->name)
#define current_function_pops_args (cfun->pops_args)