name-lookup.c (free_binding_entry): fix where the GTY markers are.
authorAndrew Pinski <pinskia@physics.uc.edu>
Mon, 19 May 2003 07:02:12 +0000 (07:02 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Mon, 19 May 2003 07:02:12 +0000 (07:02 +0000)
commit7e8f3096dc8d41f9bffec4033d42737a758d8e8d
tree5c9394428423772469ade05364ed58146be1036f
parent1c745a02699797b52f1978dd00ac46b3b149938c
name-lookup.c (free_binding_entry): fix where the GTY markers are.

* name-lookup.c (free_binding_entry): fix where the GTY markers are.
(binding_entry_make): Make entry->chain NULL after getting an entry.
fix the spelling of chain in a comment.
(binding_table_free): speed up by having temporary variable.
(binding_table_new): set table->chain to be NULL after allocating
a table.
(cxx_binding_make): use gcc_alloc instead of ggc_alloc_cleared and set
binding->previous to NULL after getting an binding for speed.

From-SVN: r66948
gcc/cp/ChangeLog
gcc/cp/name-lookup.c