diff options
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h index 1b2484e4522..4d43444876b 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -23,6 +23,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA #define GCC_FUNCTION_H #include "tree.h" +#include "hard-reg-set.h" struct var_refs_queue GTY(()) { @@ -101,6 +102,10 @@ struct emit_status GTY(()) /* Indexed by pseudo register number, gives the rtx for that pseudo. Allocated in parallel with regno_pointer_align. */ rtx * GTY ((length ("%h.x_reg_rtx_no"))) x_regno_reg_rtx; + + /* Call unsaved hard registers really used by given function + (including ones used by functions called by given function). */ + HARD_REG_SET call_used_regs; }; /* For backward compatibility... eventually these should all go away. */ @@ -559,6 +564,8 @@ extern rtx get_arg_pointer_save_area (struct function *); /* Returns the name of the current function. */ extern const char *current_function_name (void); +extern void get_call_invalidated_used_regs (rtx, HARD_REG_SET *, bool); + extern void do_warn_unused_parameter (tree); extern bool pass_by_reference (CUMULATIVE_ARGS *, enum machine_mode, |