aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-08-05 19:22:48 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-08-05 19:22:48 -0400
commitb20e883e39f607b4b40058afad360fda1330f7b3 (patch)
treec5fca7888b184f950f0ea0681a6566d56a6d4e15
parentf72ccbe63a3bf0eef1f76199578cff3e3ec9726b (diff)
downloadgcc-b20e883e39f607b4b40058afad360fda1330f7b3.zip
gcc-b20e883e39f607b4b40058afad360fda1330f7b3.tar.gz
gcc-b20e883e39f607b4b40058afad360fda1330f7b3.tar.bz2
(TYPE_OBSTACK): New macro.
(struct tree_type): Add new field obstack. From-SVN: r5077
-rw-r--r--gcc/tree.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 32a837e..52b313c 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1,5 +1,5 @@
/* Front-end tree definitions for GNU compiler.
- Copyright (C) 1989 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1993 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -558,6 +558,7 @@ struct tree_block
#define TYPE_BINFO(NODE) ((NODE)->type.binfo)
#define TYPE_NONCOPIED_PARTS(NODE) ((NODE)->type.noncopied_parts)
#define TYPE_CONTEXT(NODE) ((NODE)->type.context)
+#define TYPE_OBSTACK(NODE) ((NODE)->type.obstack)
#define TYPE_LANG_SPECIFIC(NODE) ((NODE)->type.lang_specific)
/* The alignment necessary for objects of this type.
@@ -622,6 +623,7 @@ struct tree_type
union tree_node *binfo;
union tree_node *noncopied_parts;
union tree_node *context;
+ struct obstack *obstack;
/* Points to a structure whose details depend on the language in use. */
struct lang_type *lang_specific;
};