aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-profile.c
diff options
context:
space:
mode:
authorMartin Liska <marxin@gcc.gnu.org>2019-10-30 07:55:39 +0000
committerMartin Liska <marxin@gcc.gnu.org>2019-10-30 07:55:39 +0000
commita62bfab5d2a332925fcf10c45b4c5d8ca499439d (patch)
treed0586bccd3e715429ba1c4df5ba680575950b1e7 /gcc/ipa-profile.c
parent53289de583e4dfab17ace7b39e102b04eba749e5 (diff)
downloadgcc-a62bfab5d2a332925fcf10c45b4c5d8ca499439d.zip
gcc-a62bfab5d2a332925fcf10c45b4c5d8ca499439d.tar.gz
gcc-a62bfab5d2a332925fcf10c45b4c5d8ca499439d.tar.bz2
Remove cgraph_global_info.
From-SVN: r277600
Diffstat (limited to 'gcc/ipa-profile.c')
-rw-r--r--gcc/ipa-profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-profile.c b/gcc/ipa-profile.c
index 970dba3..50a54eb 100644
--- a/gcc/ipa-profile.c
+++ b/gcc/ipa-profile.c
@@ -326,8 +326,8 @@ ipa_propagate_frequency_1 (struct cgraph_node *node, void *data)
if (profile_info
&& !(edge->callee->count.ipa () == profile_count::zero ())
&& (edge->caller->frequency != NODE_FREQUENCY_UNLIKELY_EXECUTED
- || (edge->caller->global.inlined_to
- && edge->caller->global.inlined_to->frequency
+ || (edge->caller->inlined_to
+ && edge->caller->inlined_to->frequency
!= NODE_FREQUENCY_UNLIKELY_EXECUTED)))
d->maybe_unlikely_executed = false;
if (edge->count.ipa ().initialized_p ()