diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-10 08:32:36 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-10 08:32:36 +0000 |
commit | b6f9631381e10d091a88aa675085f10af98a28c6 (patch) | |
tree | 865c0b54e18cfb2b9d2e793041cef72810e71181 /gcc/lto-cgraph.c | |
parent | 8be0bfb23e98e30e0b4515c86024222270f5a5ae (diff) | |
download | gcc-b6f9631381e10d091a88aa675085f10af98a28c6.tar.gz |
* lto-cgraph.c (compute_ltrans_boundary): Do not care about aliases.
* lto-partition.c (partition_symbol_p): Forward declare.
(add_references_to_partition): Reimplement using partition_symbol_p.
(add_aliases_to_partition): Break out from add_references_to_partition;
reimplement using partition_symbol_p.
(add_cgraph_node_to_partition_1): Handle callees using partition_symbol_p;
add sanity checks.
(add_varpool_node_to_partition): Use add_aliases_to_partition.
(partition_varpool_node_p): Do not special case aliases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191129 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r-- | gcc/lto-cgraph.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c index 300e5714e66..6223d1a6a57 100644 --- a/gcc/lto-cgraph.c +++ b/gcc/lto-cgraph.c @@ -730,8 +730,6 @@ compute_ltrans_boundary (lto_symtab_encoder_t in_encoder) lto_set_symtab_encoder_encode_initializer (encoder, vnode); add_references (encoder, &vnode->symbol.ref_list); } - else if (vnode->alias || vnode->alias_of) - add_references (encoder, &vnode->symbol.ref_list); } } |