aboutsummaryrefslogtreecommitdiff
path: root/gcc/alloc-pool.c
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@google.com>2009-04-30 16:24:31 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2009-04-30 16:24:31 +0000
commitf136c8ae80e6060a326e4a0b80908e79e0ae18ea (patch)
treeec649a5e2e4e14a600abaaaabf117f1cd7e12abf /gcc/alloc-pool.c
parent512e7d7fb0d968c92c85f3cc3c73c3eaea993dfe (diff)
downloadgcc-f136c8ae80e6060a326e4a0b80908e79e0ae18ea.zip
gcc-f136c8ae80e6060a326e4a0b80908e79e0ae18ea.tar.gz
gcc-f136c8ae80e6060a326e4a0b80908e79e0ae18ea.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/alloc-pool.c b/gcc/alloc-pool.c
index 1734ba4..c9d9904 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);