diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-25 16:24:43 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-25 16:24:43 +0000 |
commit | 459f72f52cd203d517aeccdd132cbee537f5f223 (patch) | |
tree | af2ec7844c655e53de39b185e0fb8fa73a4c9d3f /gcc/function.h | |
parent | ccf1c0f117e2e100ca03a146fd3c9cb2c09d3f94 (diff) | |
download | gcc-459f72f52cd203d517aeccdd132cbee537f5f223.tar.gz |
2008-05-25 H.J. Lu <hongjiu.lu@intel.com>
* final.c (frame_pointer_needed): Removed.
* flags.h (frame_pointer_needed): Likewise.
* function.h (rtl_data): Add frame_pointer_needed.
(frame_pointer_needed): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135870 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h index 424cdf7054c..2c469904712 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -392,6 +392,11 @@ struct rtl_data GTY(()) /* Nonzero if code to initialize arg_pointer_save_area has been emitted. */ bool arg_pointer_save_area_init; + + /* Nonzero means current function must be given a frame pointer. + Set in stmt.c if anything is allocated on the stack there. + Set in reload1.c if anything is allocated on the stack there. */ + bool frame_pointer_needed; }; #define return_label (crtl->x_return_label) @@ -405,6 +410,7 @@ struct rtl_data GTY(()) #define avail_temp_slots (crtl->x_avail_temp_slots) #define temp_slot_level (crtl->x_temp_slot_level) #define nonlocal_goto_handler_labels (crtl->x_nonlocal_goto_handler_labels) +#define frame_pointer_needed (crtl->frame_pointer_needed) extern GTY(()) struct rtl_data x_rtl; |