summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2010-07-12 18:53:42 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2010-07-12 18:53:42 +0000
commit360d045b059b4ca15f440fa0db81a0dac9d744ba (patch)
treeaeefab84b5e5108cbebc4f45625b5df52e374403 /gcc/rtl.h
parent55e78c8cf92151e9395ff9cfe91277b58f7fc1d0 (diff)
downloadgcc-360d045b059b4ca15f440fa0db81a0dac9d744ba.tar.gz
Makefile.in (reginfo.o): Don't depend on $(GGC_H) or gt-reginfo.h.
gcc/ * Makefile.in (reginfo.o): Don't depend on $(GGC_H) or gt-reginfo.h. (GTFILES): Remove reginfo.c. * rtl.h (target_rtl): Add x_top_of_stack. (top_of_stack): New macro. * reginfo.c: Don't include ggc.h or gt-reginfo.h. (top_of_stack): Delete. From-SVN: r162091
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 366b5fd8795..aef8da5dc55 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2038,6 +2038,9 @@ struct GTY(()) target_rtl {
They are initialized once per compilation unit, then copied into
regno_reg_rtx at the beginning of each function. */
rtx x_initial_regno_reg_rtx[FIRST_PSEUDO_REGISTER];
+
+ /* A sample (mem:M stack_pointer_rtx) rtx for each mode M. */
+ rtx x_top_of_stack[MAX_MACHINE_MODE];
};
extern GTY(()) struct target_rtl default_target_rtl;
@@ -2053,6 +2056,8 @@ extern struct target_rtl *this_target_rtl;
(this_target_rtl->x_pic_offset_table_rtx)
#define return_address_pointer_rtx \
(this_target_rtl->x_return_address_pointer_rtx)
+#define top_of_stack \
+ (this_target_rtl->x_top_of_stack)
/* Standard pieces of rtx, to be substituted directly into things. */
#define pc_rtx (global_rtl[GR_PC])