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/ggc-common.c | |
parent | 512e7d7fb0d968c92c85f3cc3c73c3eaea993dfe (diff) | |
download | gcc-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/ggc-common.c')
-rw-r--r-- | gcc/ggc-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c index 747ec4c..b6b9e1e 100644 --- a/gcc/ggc-common.c +++ b/gcc/ggc-common.c @@ -845,7 +845,7 @@ loc_descriptor (const char *name, int line, const char *function) if (!loc_hash) loc_hash = htab_create (10, hash_descriptor, eq_descriptor, NULL); - slot = (struct loc_descriptor **) htab_find_slot (loc_hash, &loc, 1); + slot = (struct loc_descriptor **) htab_find_slot (loc_hash, &loc, INSERT); if (*slot) return *slot; *slot = XCNEW (struct loc_descriptor); |