aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-04-05 16:13:53 -0400
committerDJ Delorie <dj@gcc.gnu.org>2001-04-05 16:13:53 -0400
commitc39ada0455f7a4037f98ac221f770742d85d8144 (patch)
tree221512a33199a7175b67e219e51648c193b287dc /gcc/function.h
parent93a6eb7802d2a1e71430635a220df4663c4dd2ad (diff)
downloadgcc-c39ada0455f7a4037f98ac221f770742d85d8144.zip
gcc-c39ada0455f7a4037f98ac221f770742d85d8144.tar.gz
gcc-c39ada0455f7a4037f98ac221f770742d85d8144.tar.bz2
function.h (virtuals_instantiated): Declare.
* 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. From-SVN: r41127
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 5621c6b..f27c2b0 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)