Commit 3e87ad4d by Richard Kenner Committed by Richard Kenner

* tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.

From-SVN: r47419
parent c46080ab
Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
* tree.h: Add missing checks on some macros; make formatting more * tree.h: Add missing checks on some macros; make formatting more
consistent. consistent.
......
...@@ -198,6 +198,7 @@ struct tree_common ...@@ -198,6 +198,7 @@ struct tree_common
TREE_VIA_PROTECTED in TREE_VIA_PROTECTED in
TREE_LIST TREE_LIST
TREE_VEC
TREE_PROTECTED in TREE_PROTECTED in
BLOCK BLOCK
??? unspecified nodes ??? unspecified nodes
...@@ -530,12 +531,11 @@ extern void tree_class_check_failed PARAMS ((const tree, int, ...@@ -530,12 +531,11 @@ extern void tree_class_check_failed PARAMS ((const tree, int,
/* Ditto, for `private' declarations. */ /* Ditto, for `private' declarations. */
#define TREE_VIA_PRIVATE(NODE) ((NODE)->common.private_flag) #define TREE_VIA_PRIVATE(NODE) ((NODE)->common.private_flag)
/* Nonzero for TREE_LIST node means that the path to the /* Nonzero for TREE_LIST or TREE_VEC node means that the path to the
base class is via a `protected' declaration, which preserves base class is via a `protected' declaration, which preserves
protected fields from the base class as protected. protected fields from the base class as protected.
OVERLOADED. */ OVERLOADED. */
#define TREE_VIA_PROTECTED(NODE) \ #define TREE_VIA_PROTECTED(NODE) ((NODE)->common.protected_flag)
(TREE_LIST_CHECK (NODE)->common.protected_flag)
/* In any expression, nonzero means it has side effects or reevaluation /* In any expression, nonzero means it has side effects or reevaluation
of the whole expression could produce a different value. of the whole expression could produce a different value.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment