]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/hash-table.h
fix hash_table when empty elements are not 0
authorTrevor Saunders <tsaunders@mozilla.com>
Thu, 20 Nov 2014 15:10:26 +0000 (15:10 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Thu, 20 Nov 2014 15:10:26 +0000 (15:10 +0000)
commit1f012f560f6eea9cc07dcf9ee343d7a17692f9bc
tree6b7936d20ee14a50ce2a7310a7f0b65175230ba7
parentd242408fda0bb64230b5446911d860df3e19a3da
fix hash_table when empty elements are not 0

gcc/ChangeLog:

2014-11-20  Trevor Saunders  <tsaunders@mozilla.com>

* hash-table.h (hash_table::hash_table): Call alloc_entries.
(hash_table::alloc_entries): new method.
(hash_table::expand): Call alloc_entries.
(hash_table::empty): Likewise.

From-SVN: r217868
gcc/ChangeLog
gcc/hash-table.h