From 360d045b059b4ca15f440fa0db81a0dac9d744ba Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 12 Jul 2010 18:53:42 +0000 Subject: 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 --- gcc/rtl.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/rtl.h') 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]) -- cgit v1.2.1