summaryrefslogtreecommitdiff
path: root/gcc/varray.c
diff options
context:
space:
mode:
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-30 16:24:31 +0000
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-30 16:24:31 +0000
commit29d35324411c566d4e57b46aa24781666def474a (patch)
treeec649a5e2e4e14a600abaaaabf117f1cd7e12abf /gcc/varray.c
parentd3207f3f2705a247b7b257782a00c8c2a9c78272 (diff)
downloadgcc-29d35324411c566d4e57b46aa24781666def474a.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147009 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varray.c')
-rw-r--r--gcc/varray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varray.c b/gcc/varray.c
index d8e35b1a83c..91e5b5d588a 100644
--- a/gcc/varray.c
+++ b/gcc/varray.c
@@ -71,7 +71,7 @@ varray_descriptor (const char *name)
slot = (struct varray_descriptor **)
htab_find_slot_with_hash (varray_hash, name,
htab_hash_pointer (name),
- 1);
+ INSERT);
if (*slot)
return *slot;
*slot = XCNEW (struct varray_descriptor);