diff options
author | Martin Liska <marxin@gcc.gnu.org> | 2019-10-30 07:55:39 +0000 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-10-30 07:55:39 +0000 |
commit | a62bfab5d2a332925fcf10c45b4c5d8ca499439d (patch) | |
tree | d0586bccd3e715429ba1c4df5ba680575950b1e7 /gcc/symtab.c | |
parent | 53289de583e4dfab17ace7b39e102b04eba749e5 (diff) | |
download | gcc-a62bfab5d2a332925fcf10c45b4c5d8ca499439d.zip gcc-a62bfab5d2a332925fcf10c45b4c5d8ca499439d.tar.gz gcc-a62bfab5d2a332925fcf10c45b4c5d8ca499439d.tar.bz2 |
Remove cgraph_global_info.
From-SVN: r277600
Diffstat (limited to 'gcc/symtab.c')
-rw-r--r-- | gcc/symtab.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/symtab.c b/gcc/symtab.c index ee9723c..a75f516 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -1921,7 +1921,7 @@ symtab_node::get_partitioning_class (void) if (DECL_ABSTRACT_P (decl)) return SYMBOL_EXTERNAL; - if (cnode && cnode->global.inlined_to) + if (cnode && cnode->inlined_to) return SYMBOL_DUPLICATE; /* Transparent aliases are always duplicated. */ @@ -2321,7 +2321,7 @@ symtab_node::binds_to_current_def_p (symtab_node *ref) return true; /* Inline clones always binds locally. */ - if (cnode && cnode->global.inlined_to) + if (cnode && cnode->inlined_to) return true; if (DECL_EXTERNAL (decl)) @@ -2333,7 +2333,7 @@ symtab_node::binds_to_current_def_p (symtab_node *ref) { cgraph_node *cref = dyn_cast <cgraph_node *> (ref); if (cref) - ref = cref->global.inlined_to; + ref = cref->inlined_to; } /* If this is a reference from symbol itself and there are no aliases, we |