aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-ssa-evrp-analyze.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2017-11-22 17:04:07 -0700
committerJeff Law <law@gcc.gnu.org>2017-11-22 17:04:07 -0700
commit3e406d3330ca865244cd867572cdd02627a8757a (patch)
tree3dda1b044f1ae730bf711bfbf9af55eafb61a65f /gcc/gimple-ssa-evrp-analyze.c
parentd057fdc8e968b701df4e50be2a823f3f9a54e60e (diff)
downloadgcc-3e406d3330ca865244cd867572cdd02627a8757a.zip
gcc-3e406d3330ca865244cd867572cdd02627a8757a.tar.gz
gcc-3e406d3330ca865244cd867572cdd02627a8757a.tar.bz2
gimple-ssa-evrp-analyze.c (evrp_range_analyzer::try_find_new_range): Use new method allocate_value_range rather than accessing the...
* gimple-ssa-evrp-analyze.c (evrp_range_analyzer::try_find_new_range): Use new method allocate_value_range rather than accessing the vrp_value_range_pool data member directly. * tree-vrp.c (simplify_stmt_for_jump_threading): Tweak slightly to use extract_range_from_stmt method to avoid need for extract_range_from_assignment method. (vrp_prop::vrp_finalize): Use set_lattice_propagation_complete method rather than setting values_propgated data member directly. * vr-values.h (class vr_values): Privatize vrp_value_range_pool, and values propagated data members and extract_range_from_assignment method. Reorder private data members to conform to standards. Add new methods set_lattice_propagation_complete and allocate_value_range. From-SVN: r255086
Diffstat (limited to 'gcc/gimple-ssa-evrp-analyze.c')
-rw-r--r--gcc/gimple-ssa-evrp-analyze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-ssa-evrp-analyze.c b/gcc/gimple-ssa-evrp-analyze.c
index c387779..cfaf18f 100644
--- a/gcc/gimple-ssa-evrp-analyze.c
+++ b/gcc/gimple-ssa-evrp-analyze.c
@@ -84,7 +84,7 @@ evrp_range_analyzer::try_find_new_range (tree name,
&& vrp_operand_equal_p (old_vr->min, vr.min)
&& vrp_operand_equal_p (old_vr->max, vr.max))
return NULL;
- value_range *new_vr = vr_values->vrp_value_range_pool.allocate ();
+ value_range *new_vr = vr_values->allocate_value_range ();
*new_vr = vr;
return new_vr;
}