summaryrefslogtreecommitdiffstats
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-04 18:25:41 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-04 18:25:41 +0000
commit05513b452c469f1b9600c9b2cca224a7dd32062d (patch)
tree068cd2859713068d2e717951d385915d6b99a4df /gcc/rtl.h
parent7086d72a013ca952df8d8d1aae2fb61e5a24d1a5 (diff)
downloadppe42-gcc-05513b452c469f1b9600c9b2cca224a7dd32062d.tar.gz
ppe42-gcc-05513b452c469f1b9600c9b2cca224a7dd32062d.zip
* Makefile.in (GGC, GGC_LIB): New.
(HOST_RTL): Include ggc-none.o. (ggc-simple.o): New target. (ggc-none.o): Likewise. * tree.h (tree_common): Add gc_mark. * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark. (struct rtvec_def): Add gc_mark. * emit-rtl.c (global_rtl): Update static initializers to contain enough initializers. * ggc.h, ggc-none.c, ggc-simple.c: New files. * toplev.c (gc_time): New variable. (all_time): New variable. (compile_file): Print gc time. (print_time): Calculate percentage of the whole. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29106 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index acb9f756bb8..d680ed71059 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -102,13 +102,13 @@ typedef struct rtx_def
{
#ifdef ONLY_INT_FIELDS
#ifdef CODE_FIELD_BUG
- unsigned int code : 16;
+ unsigned int code : 15;
#else
unsigned short code;
#endif
#else
/* The kind of expression this is. */
- enum rtx_code code : 16;
+ enum rtx_code code : 15;
#endif
/* The kind of value the expression has. */
#ifdef ONLY_INT_FIELDS
@@ -171,6 +171,10 @@ typedef struct rtx_def
1 in a MEM if the MEM refers to a scalar, rather than a member of
an aggregate. */
unsigned frame_related : 1;
+
+ /* Used by the garbage collector. */
+ unsigned gc_mark : 1;
+
/* The first element of the operands of this rtx.
The number of operands and their types are controlled
by the `code' field, according to rtl.def. */
@@ -202,6 +206,7 @@ typedef struct rtx_def
typedef struct rtvec_def{
int num_elem; /* number of elements */
+ int gc_mark;
struct rtx_def *elem[1];
} *rtvec;
OpenPOWER on IntegriCloud