aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphclones.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/cgraphclones.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/cgraphclones.c')
-rw-r--r--gcc/cgraphclones.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c
index 087b5a2..fcf9cd5 100644
--- a/gcc/cgraphclones.c
+++ b/gcc/cgraphclones.c
@@ -309,7 +309,7 @@ dump_callgraph_transformation (const cgraph_node *original,
If the new node is being inlined into another one, NEW_INLINED_TO should be
the outline function the new one is (even indirectly) inlined to. All hooks
- will see this in node's global.inlined_to, when invoked. Can be NULL if the
+ will see this in node's inlined_to, when invoked. Can be NULL if the
node is not inlined.
If PARAM_ADJUSTMENTS is non-NULL, the parameter manipulation information
@@ -357,8 +357,7 @@ cgraph_node::create_clone (tree new_decl, profile_count prof_count,
new_node->externally_visible = false;
new_node->no_reorder = no_reorder;
new_node->local.local = true;
- new_node->global = global;
- new_node->global.inlined_to = new_inlined_to;
+ new_node->inlined_to = new_inlined_to;
new_node->rtl = rtl;
new_node->frequency = frequency;
new_node->tp_first_run = tp_first_run;
@@ -862,7 +861,7 @@ cgraph_node::create_version_clone (tree new_decl,
new_version->externally_visible = false;
new_version->no_reorder = no_reorder;
new_version->local.local = new_version->definition;
- new_version->global = global;
+ new_version->inlined_to = inlined_to;
new_version->rtl = rtl;
new_version->count = count;