+2018-06-08 Martin Liska <mliska@suse.cz>
+
+ * ipa-pure-const.c (propagate_pure_const): Use ::get at places
+ where we expect an existing summary.
+
2018-06-08 Martin Liska <mliska@suse.cz>
* ipa-inline-analysis.c (simple_edge_hints): Use ::get method.
}
if (avail > AVAIL_INTERPOSABLE)
{
- funct_state y_l = funct_state_summaries->get_create (y);
+ funct_state y_l = funct_state_summaries->get (y);
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file,
while (w && !can_free)
{
struct cgraph_edge *e;
- funct_state w_l = funct_state_summaries->get_create (w);
+ funct_state w_l = funct_state_summaries->get (w);
if (w_l->can_free
|| w->get_availability () == AVAIL_INTERPOSABLE
e->caller);
if (avail > AVAIL_INTERPOSABLE)
- can_free = funct_state_summaries->get_create (y)->can_free;
+ can_free = funct_state_summaries->get (y)->can_free;
else
can_free = true;
}
w = node;
while (w)
{
- funct_state w_l = funct_state_summaries->get_create (w);
+ funct_state w_l = funct_state_summaries->get (w);
enum pure_const_state_e this_state = pure_const_state;
bool this_looping = looping;