This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove an unused field from struct tree_decl


Shrinking struct tree_decl by a word should not be bad... 

Also the vindex field seems to be used only in C++ and
java. Can it be moved somewhere else?

2003-02-08  Dan Nicolaescu  <dann@ics.uci.edu>

	* tree.h (struct tree_decl): Remove unused live_range_rtl field.
	(DECL_LIVE_RANGE_RTL): Remove. 


*** tree.h.~1.379.~	Sat Feb  8 23:05:07 2003
--- tree.h	Sat Feb  8 23:06:21 2003
***************
*** 1520,1529 ****
  /* The DECL_RTL for NODE, if it is set, or NULL, if it is not set.  */
  #define DECL_RTL_IF_SET(NODE) (DECL_RTL_SET_P (NODE) ? DECL_RTL (NODE) : NULL)
  
- /* Holds an INSN_LIST of all of the live ranges in which the variable
-    has been moved to a possibly different register.  */
- #define DECL_LIVE_RANGE_RTL(NODE) (DECL_CHECK (NODE)->decl.live_range_rtl)
- 
  /* For PARM_DECL, holds an RTL for the stack slot or register
     where the data was actually passed.  */
  #define DECL_INCOMING_RTL(NODE) (PARM_DECL_CHECK (NODE)->decl.u2.r)
--- 1520,1525 ----
***************
*** 1864,1870 ****
    tree section_name;
    tree attributes;
    rtx rtl;	/* RTL representation for object.  */
-   rtx live_range_rtl;
  
    /* In FUNCTION_DECL, if it is inline, holds the saved insn chain.
       In FIELD_DECL, is DECL_FIELD_BIT_OFFSET.
--- 1860,1865 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]