From c39ada0455f7a4037f98ac221f770742d85d8144 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Thu, 5 Apr 2001 16:13:53 -0400 Subject: 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 --- gcc/function.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/function.h') 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) -- cgit v1.1