aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-12 20:40:09 +0000
committerRichard Stallman <rms@gnu.org>1992-07-12 20:40:09 +0000
commit9f86614ba30595a95ae46d82d81b936fe00b3d39 (patch)
treea5a2fb594e625af1d63c8e9bf853a905f0cb8f60 /gcc
parent118149afaeff51fe56a62878b609c183a439df77 (diff)
downloadgcc-9f86614ba30595a95ae46d82d81b936fe00b3d39.zip
gcc-9f86614ba30595a95ae46d82d81b936fe00b3d39.tar.gz
gcc-9f86614ba30595a95ae46d82d81b936fe00b3d39.tar.bz2
(IDENTIFIER_VIRTUAL_P): Deleted from here.
From-SVN: r1576
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index e65b228..01910ab 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -230,7 +230,7 @@ struct tree_common
#define TREE_ADDRESSABLE(NODE) ((NODE)->common.addressable_flag)
/* In a VAR_DECL, nonzero means allocate static storage.
- In a FUNCTION_DECL, currently nonzero if function has been defined.
+ In a FUNCTION_DECL, nonzero if function has been defined.
In a CONSTRUCTOR, nonzero means allocate static storage. */
#define TREE_STATIC(NODE) ((NODE)->common.static_flag)
@@ -305,7 +305,8 @@ struct tree_common
This is interesting in an inline function, since it might not need
to be compiled separately.
Nonzero in a RECORD_TYPE, UNION_TYPE or ENUMERAL_TYPE
- if the sdb debugging info for the type has been written. */
+ if the sdb debugging info for the type has been written.
+ In a BLOCK node, nonzero if reorder_blocks has already seen this block. */
#define TREE_ASM_WRITTEN(NODE) ((NODE)->common.asm_written_flag)
/* Nonzero in a _DECL if the name is used in its scope.
@@ -318,10 +319,13 @@ struct tree_common
in the raising of an exception. Not implemented yet. */
#define TREE_RAISES(NODE) ((NODE)->common.raises_flag)
-/* These are currently used in classes in C++. */
+/* Used in classes in C++. */
#define TREE_PRIVATE(NODE) ((NODE)->common.private_flag)
+/* Used in classes in C++.
+ In a BLOCK node, this is BLOCK_HANDLER_BLOCK. */
#define TREE_PROTECTED(NODE) ((NODE)->common.protected_flag)
+/* These flags are available for each language front end to use internally. */
#define TREE_LANG_FLAG_0(NODE) ((NODE)->common.lang_flag_0)
#define TREE_LANG_FLAG_1(NODE) ((NODE)->common.lang_flag_1)
#define TREE_LANG_FLAG_2(NODE) ((NODE)->common.lang_flag_2)
@@ -413,7 +417,6 @@ struct tree_complex
#define IDENTIFIER_LENGTH(NODE) ((NODE)->identifier.length)
#define IDENTIFIER_POINTER(NODE) ((NODE)->identifier.pointer)
-#define IDENTIFIER_VIRTUAL_P(NODE) TREE_LANG_FLAG_1(NODE)
struct tree_identifier
{
@@ -532,6 +535,7 @@ struct tree_exp
/* Means this type is const-qualified. */
#define TYPE_READONLY(NODE) ((NODE)->common.readonly_flag)
+/* These flags are available for each language front end to use internally. */
#define TYPE_LANG_FLAG_0(NODE) ((NODE)->type.lang_flag_0)
#define TYPE_LANG_FLAG_1(NODE) ((NODE)->type.lang_flag_1)
#define TYPE_LANG_FLAG_2(NODE) ((NODE)->type.lang_flag_2)