aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2004-05-14 02:33:00 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-05-14 02:33:00 +0000
commit90afe2c9f5c7a47b53fe31da0b06a6f8dda37cce (patch)
tree1d87ff9be659423d0f5eae77a93d234f7f649aa0 /gcc/print-tree.c
parenteadf906f463167f90f23bed5d3bb56026a4bfc33 (diff)
downloadgcc-90afe2c9f5c7a47b53fe31da0b06a6f8dda37cce.zip
gcc-90afe2c9f5c7a47b53fe31da0b06a6f8dda37cce.tar.gz
gcc-90afe2c9f5c7a47b53fe31da0b06a6f8dda37cce.tar.bz2
tree.def (documentation): Remove mention of class 'b'.
* tree.def (documentation): Remove mention of class 'b'. (BLOCK): Now in class 'x'. * c-common.c (verify_tree): Remove case 'b'. * c-typeck.c (same_translation_unit_p): Change 'b' to 'x'. * calls.c (calls_function_1): Control cannot get past the switch when exp is a BLOCK. * print-tree.c (print_node): Move code for class 'b' to the class 'c'/'x' switch, as case BLOCK. * tree.c (tree_size, make_node_stat, tree_node_structure): Likewise. (unsafe_for_reeval, substitute_placeholder_in_expr) (stabilize_reference_1): Remove case 'b'. * tree-browser.c (browse_tree): Change all tests for TREE_CODE_CLASS of something being 'b' to tests for TREE_CODE of something being BLOCK. * tree-ssa-operands.c (get_expr_operands): Likewise. ada: * trans.c (gnat_stabilize_reference_1): Remove case 'b'. From-SVN: r81831
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index fd90b18..1d8ca96 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -569,15 +569,6 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
print_node_brief (file, "chain", TREE_CHAIN (node), indent + 4);
break;
- case 'b':
- print_node (file, "vars", BLOCK_VARS (node), indent + 4);
- print_node (file, "supercontext", BLOCK_SUPERCONTEXT (node), indent + 4);
- print_node (file, "subblocks", BLOCK_SUBBLOCKS (node), indent + 4);
- print_node (file, "chain", BLOCK_CHAIN (node), indent + 4);
- print_node (file, "abstract_origin",
- BLOCK_ABSTRACT_ORIGIN (node), indent + 4);
- break;
-
case 'e':
case '<':
case '1':
@@ -733,6 +724,16 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
}
break;
+ case BLOCK:
+ print_node (file, "vars", BLOCK_VARS (node), indent + 4);
+ print_node (file, "supercontext", BLOCK_SUPERCONTEXT (node),
+ indent + 4);
+ print_node (file, "subblocks", BLOCK_SUBBLOCKS (node), indent + 4);
+ print_node (file, "chain", BLOCK_CHAIN (node), indent + 4);
+ print_node (file, "abstract_origin",
+ BLOCK_ABSTRACT_ORIGIN (node), indent + 4);
+ break;
+
default:
if (TREE_CODE_CLASS (TREE_CODE (node)) == 'x')
lang_hooks.print_xnode (file, node, indent);