Commit 219441f2 by Gabriel Charette Committed by Diego Novillo

name-lookup.h (cp_binding_level): Removed unused member names_size.

2011-06-23  Gabriel Charette  <gchare@google.com>

	* name-lookup.h (cp_binding_level): Removed unused
	member names_size. Update all users.

From-SVN: r175373
parent fddb8924
2011-06-23 Gabriel Charette <gchare@google.com>
* name-lookup.h (cp_binding_level): Removed unused
member names_size. Update all users.
2011-06-23 Jason Merrill <jason@redhat.com> 2011-06-23 Jason Merrill <jason@redhat.com>
PR c++/49519 PR c++/49519
......
...@@ -541,7 +541,6 @@ add_decl_to_level (tree decl, cxx_scope *b) ...@@ -541,7 +541,6 @@ add_decl_to_level (tree decl, cxx_scope *b)
necessary. */ necessary. */
TREE_CHAIN (decl) = b->names; TREE_CHAIN (decl) = b->names;
b->names = decl; b->names = decl;
b->names_size++;
/* If appropriate, add decl to separate list of statics. We /* If appropriate, add decl to separate list of statics. We
include extern variables because they might turn out to be include extern variables because they might turn out to be
......
...@@ -191,9 +191,6 @@ struct GTY(()) cp_binding_level { ...@@ -191,9 +191,6 @@ struct GTY(()) cp_binding_level {
are wrapped in TREE_LISTs; the TREE_VALUE is the OVERLOAD. */ are wrapped in TREE_LISTs; the TREE_VALUE is the OVERLOAD. */
tree names; tree names;
/* Count of elements in names chain. */
size_t names_size;
/* A chain of NAMESPACE_DECL nodes. */ /* A chain of NAMESPACE_DECL nodes. */
tree namespaces; tree namespaces;
......
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