diff options
author | espindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-30 16:24:31 +0000 |
---|---|---|
committer | espindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-30 16:24:31 +0000 |
commit | 29d35324411c566d4e57b46aa24781666def474a (patch) | |
tree | ec649a5e2e4e14a600abaaaabf117f1cd7e12abf /gcc/vec.c | |
parent | d3207f3f2705a247b7b257782a00c8c2a9c78272 (diff) | |
download | gcc-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/vec.c')
-rw-r--r-- | gcc/vec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/vec.c b/gcc/vec.c index 14567827dcd..530cd1abc4b 100644 --- a/gcc/vec.c +++ b/gcc/vec.c @@ -113,7 +113,8 @@ vec_descriptor (const char *name, int line, const char *function) if (!vec_desc_hash) vec_desc_hash = htab_create (10, hash_descriptor, eq_descriptor, NULL); - slot = (struct vec_descriptor **) htab_find_slot (vec_desc_hash, &loc, 1); + slot = (struct vec_descriptor **) htab_find_slot (vec_desc_hash, &loc, + INSERT); if (*slot) return *slot; *slot = XCNEW (struct vec_descriptor); |