diff options
author | Rafael Avila de Espindola <espindola@google.com> | 2009-04-30 16:24:31 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2009-04-30 16:24:31 +0000 |
commit | f136c8ae80e6060a326e4a0b80908e79e0ae18ea (patch) | |
tree | ec649a5e2e4e14a600abaaaabf117f1cd7e12abf /gcc/alloc-pool.c | |
parent | 512e7d7fb0d968c92c85f3cc3c73c3eaea993dfe (diff) | |
download | gcc-f136c8ae80e6060a326e4a0b80908e79e0ae18ea.tar.gz |
alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int.
2009-04-30 Rafael Avila de Espindola <espindola@google.com>
* alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value
instead of an int.
* bitmap.c (bitmap_descriptor): Likewise.
* ggc-common.c (loc_descriptor): Likewise.
* varray.c (varray_descriptor): Likewise.
* vec.c (vec_descriptor): Likewise.
From-SVN: r147009
Diffstat (limited to 'gcc/alloc-pool.c')
-rw-r--r-- | gcc/alloc-pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/alloc-pool.c b/gcc/alloc-pool.c index 1734ba4d8bf..c9d990464ad 100644 --- a/gcc/alloc-pool.c +++ b/gcc/alloc-pool.c @@ -116,7 +116,7 @@ alloc_pool_descriptor (const char *name) slot = (struct alloc_pool_descriptor **) htab_find_slot_with_hash (alloc_pool_hash, name, htab_hash_pointer (name), - 1); + INSERT); if (*slot) return *slot; *slot = XCNEW (struct alloc_pool_descriptor); |