Fix previous commit.
* ipa-prop.h (ipa_release_agg_values): Add parameter RELEASE_VECTOR. From-SVN: r278554
This commit is contained in:
parent
b0d5547612
commit
9c572192f0
@ -13,6 +13,7 @@
|
||||
* ipa-cp.c (ipa_get_indirect_edge_target_1): Do not early exit when
|
||||
values are not known.
|
||||
(ipa_release_agg_values): Add option to not release vector itself.
|
||||
* ipa-prop.h (ipa_release_agg_values): Add parameter RELEASE_VECTOR.
|
||||
|
||||
2019-11-21 Richard Biener <rguenther@suse.de>
|
||||
|
||||
|
@ -264,14 +264,16 @@ ipa_copy_agg_values (const vec<ipa_agg_value_set> &aggs)
|
||||
whole vector. */
|
||||
|
||||
static inline void
|
||||
ipa_release_agg_values (vec<ipa_agg_value_set> &aggs)
|
||||
ipa_release_agg_values (vec<ipa_agg_value_set> &aggs,
|
||||
bool release_vector = true)
|
||||
{
|
||||
ipa_agg_value_set *agg;
|
||||
int i;
|
||||
|
||||
FOR_EACH_VEC_ELT (aggs, i, agg)
|
||||
agg->release ();
|
||||
aggs.release ();
|
||||
if (release_vector)
|
||||
aggs.release ();
|
||||
}
|
||||
|
||||
/* Information about zero/non-zero bits. */
|
||||
|
Loading…
Reference in New Issue
Block a user