aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2003-07-14 10:14:51 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2003-07-14 10:14:51 +0000
commit9a8c9b44ccb0d9a94256bfa2bf3d1cf8f1f7744f (patch)
treeaf8121367e8916c8a15a1150228fbc6e3a19b89f
parentbbd288a44df5e39c05583b77349b436eb3fcc866 (diff)
downloadgcc-9a8c9b44ccb0d9a94256bfa2bf3d1cf8f1f7744f.zip
gcc-9a8c9b44ccb0d9a94256bfa2bf3d1cf8f1f7744f.tar.gz
gcc-9a8c9b44ccb0d9a94256bfa2bf3d1cf8f1f7744f.tar.bz2
* lex.c (enum tree_node_kind): Delete.
From-SVN: r69327
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/lex.c29
2 files changed, 4 insertions, 29 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 6351dd6..ea04ac8 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * lex.c (enum tree_node_kind): Delete.
+
2003-07-13 Mark Mitchell <mark@codesourcery.com>
PR c++/11503
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index eb0287c..039de43 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -732,35 +732,6 @@ unqualified_fn_lookup_error (tree name)
return unqualified_name_lookup_error (name);
}
-#ifdef GATHER_STATISTICS
-/* The original for tree_node_kind is in the toplevel tree.c; changes there
- need to be brought into here, unless this were actually put into a header
- instead. */
-/* Statistics-gathering stuff. */
-typedef enum
-{
- d_kind,
- t_kind,
- b_kind,
- s_kind,
- r_kind,
- e_kind,
- c_kind,
- id_kind,
- op_id_kind,
- perm_list_kind,
- temp_list_kind,
- vec_kind,
- x_kind,
- lang_decl,
- lang_type,
- all_kinds
-} tree_node_kind;
-
-extern int tree_node_counts[];
-extern int tree_node_sizes[];
-#endif
-
tree
build_lang_decl (enum tree_code code, tree name, tree type)
{