Patchwork [obv] remove unused tree node kinds

login
register
mail settings
Submitter Nathan Froyd
Date Aug. 10, 2010, 2:51 a.m.
Message ID <20100810025143.GM4130@codesourcery.com>
Download mbox | patch
Permalink /patch/61330/
State New
Headers show

Comments

Nathan Froyd - Aug. 10, 2010, 2:51 a.m.
We never use these node kinds for anything.  So there's no point in
keeping them around.

Tested on x86_64-unknown-linux-gnu.  Committed as obvious.

-Nathan

	* tree.h (tree_node_kind) [perm_list_kind,temp_list_kind]: Delete.
	* tree.c (tree_node_kind): Delete corresponding entries.

Index: ChangeLog
===================================================================

Patch

Index: tree.c
===================================================================
--- tree.c	(revision 163046)
+++ tree.c	(working copy)
@@ -136,8 +136,6 @@  static const char * const tree_node_kind
   "exprs",
   "constants",
   "identifiers",
-  "perm_tree_lists",
-  "temp_tree_lists",
   "vecs",
   "binfos",
   "ssa names",
Index: tree.h
===================================================================
--- tree.h	(revision 163046)
+++ tree.h	(working copy)
@@ -5346,8 +5346,6 @@  typedef enum
   e_kind,
   c_kind,
   id_kind,
-  perm_list_kind,
-  temp_list_kind,
   vec_kind,
   binfo_kind,
   ssa_name_kind,