diff options
author | Ira Ruben <ira@apple.com> | 2001-09-06 23:49:39 +0000 |
---|---|---|
committer | Stan Shebs <shebs@gcc.gnu.org> | 2001-09-06 23:49:39 +0000 |
commit | cffb260138eff6ba20037f3017b24cbe4b0fae03 (patch) | |
tree | b828583415b6904f0f3b26659795e6820b423704 /gcc/tree.c | |
parent | 0615ed3659681961b717f70850dd62b0b846a34c (diff) | |
download | gcc-cffb260138eff6ba20037f3017b24cbe4b0fae03.tar.gz |
Remove OP_IDENTIFIER.
2001-09-06 Ira Ruben <ira@apple.com>
Remove OP_IDENTIFIER.
* tree.def (OP_IDENTIFIER): Remove.
* tree.c (tree_node_kind enum): Remove op_id_kind.
(tree_node_kind_names): Remove "op_identifiers".
(make_node): Remove OP_IDENTIFIER test.
(build_op_identifier): Removed because it isn't being used.
* print-tree.c (print_node): Remove OP_IDENTIFIER case.
* cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
From-SVN: r45457
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index 548ba7e970c..d3db28978c5 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -99,7 +99,6 @@ typedef enum e_kind, c_kind, id_kind, - op_id_kind, perm_list_kind, temp_list_kind, vec_kind, @@ -122,7 +121,6 @@ static const char * const tree_node_kind_names[] = { "exprs", "constants", "identifiers", - "op_identifiers", "perm_tree_lists", "temp_tree_lists", "vecs", @@ -380,8 +378,6 @@ make_node (code) case 'x': /* something random, like an identifier. */ if (code == IDENTIFIER_NODE) kind = id_kind; - else if (code == OP_IDENTIFIER) - kind = op_id_kind; else if (code == TREE_VEC) kind = vec_kind; else @@ -2526,20 +2522,6 @@ build_nt VPARAMS ((enum tree_code code, ...)) VA_CLOSE (p); return t; } - -#if 0 -/* Commented out because this wants to be done very - differently. See cp-lex.c. */ -tree -build_op_identifier (op1, op2) - tree op1, op2; -{ - register tree t = make_node (OP_IDENTIFIER); - TREE_PURPOSE (t) = op1; - TREE_VALUE (t) = op2; - return t; -} -#endif /* Create a DECL_... node of code CODE, name NAME and data type TYPE. We do NOT enter this node in any sort of symbol table. |