Skip to content
Snippets Groups Projects
Commit 7e8f3096 authored by Andrew Pinski's avatar Andrew Pinski Committed by Gabriel Dos Reis
Browse files

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
parent 1c745a02
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment