From a62bfab5d2a332925fcf10c45b4c5d8ca499439d Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 30 Oct 2019 07:55:39 +0000 Subject: Remove cgraph_global_info. From-SVN: r277600 --- gcc/ipa-inline-analysis.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/ipa-inline-analysis.c') diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index 8b572a4..8dee132 100644 --- a/gcc/ipa-inline-analysis.c +++ b/gcc/ipa-inline-analysis.c @@ -93,8 +93,8 @@ int simple_edge_hints (struct cgraph_edge *edge) { int hints = 0; - struct cgraph_node *to = (edge->caller->global.inlined_to - ? edge->caller->global.inlined_to : edge->caller); + struct cgraph_node *to = (edge->caller->inlined_to + ? edge->caller->inlined_to : edge->caller); struct cgraph_node *callee = edge->callee->ultimate_alias_target (); int to_scc_no = ipa_fn_summaries->get (to)->scc_no; int callee_scc_no = ipa_fn_summaries->get (callee)->scc_no; @@ -147,8 +147,8 @@ do_estimate_edge_time (struct cgraph_edge *edge) may hurt optimization of the caller's hot path. */ if (edge->count.ipa ().initialized_p () && edge->maybe_hot_p () && (edge->count.ipa ().apply_scale (2, 1) - > (edge->caller->global.inlined_to - ? edge->caller->global.inlined_to->count.ipa () + > (edge->caller->inlined_to + ? edge->caller->inlined_to->count.ipa () : edge->caller->count.ipa ()))) hints |= INLINE_HINT_known_hot; -- cgit v1.1