diff options
author | Martin Liska <mliska@suse.cz> | 2014-07-24 14:25:27 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2014-07-24 12:25:27 +0000 |
commit | 9041d2e6d2a783f2fbd0760f9ce6002194d63d00 (patch) | |
tree | 472ea9046d4a0e5c2441a25416c6e99fb4665350 /gcc/trans-mem.c | |
parent | 4a53d6a66043944d9534ceae8182b943f739b8a7 (diff) | |
download | gcc-9041d2e6d2a783f2fbd0760f9ce6002194d63d00.zip gcc-9041d2e6d2a783f2fbd0760f9ce6002194d63d00.tar.gz gcc-9041d2e6d2a783f2fbd0760f9ce6002194d63d00.tar.bz2 |
IPA C++ refactoring 2/N
* cgraph.h (varpool_node):
(availability get_availability (void)):
created from cgraph_variable_initializer_availability
(inline varpool_node *ultimate_alias_target (availability *availability = NULL)
creted from: cgraph_variable_initializer_availability
(inline varpool_node *get_alias_target (void)): created from varpool_alias_target
(void finalize_named_section_flags (void)):
created from varpool_finalize_named_section_flags
(bool assemble_decl (void)): created from varpool_assemble_decl
(void analyze (void)): created from varpool_analyze_node
(bool call_for_node_and_aliases (bool (*callback) (varpool_node *, void *),
void *data, bool include_overwritable)): created fromvarpool_for_node_and_aliases
(void remove_initializer (void)): created from varpool_remove_initializer
(tree get_constructor (void)): created from varpool_get_constructor
(bool externally_visible_p (void)): created from varpool_externally_visible_p
(bool ctor_useable_for_folding_p (void)): created from varpool_ctor_useable_for_folding_p
(inline bool all_refs_explicit_p ()): created from varpool_all_refs_explicit_p
(inline bool can_remove_if_no_refs_p (void)): created from varpool_can_remove_if_no_refs
(static inline varpool_node *get (const_tree decl)): created from varpool_get_node
(static void finalize_decl (tree decl)): created from varpool_finalize_decl
(static bool output_variables (void)): created from varpool_output_variables
(static varpool_node * create_extra_name_alias (tree alias, tree decl)):
created from varpool_extra_name_alias
(static varpool_node * create_alias (tree, tree)): created from varpool_create_variable_alias
(static void dump_varpool (FILE *f)): created from dump_varpool
(static void DEBUG_FUNCTION debug_varpool (void)): created from debug_varpool
(static varpool_node *create_empty (void)): created from varpool_create_empty_node
(static varpool_node *get_create (tree decl)): created from varpool_node_for_decl
(static varpool_node *get_for_asmname (tree asmname)): created from varpool_node_for_asm
(void assemble_aliases (void)): created from assemble_aliases
From-SVN: r212984
Diffstat (limited to 'gcc/trans-mem.c')
-rw-r--r-- | gcc/trans-mem.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c index f33b52f..5633398 100644 --- a/gcc/trans-mem.c +++ b/gcc/trans-mem.c @@ -4843,7 +4843,8 @@ ipa_tm_create_version_alias (struct cgraph_node *node, void *data) /* Perform the same remapping to the comdat group. */ if (DECL_ONE_ONLY (new_decl)) - varpool_get_node (new_decl)->set_comdat_group (tm_mangle (decl_comdat_group_id (old_decl))); + varpool_node::get (new_decl)->set_comdat_group + (tm_mangle (decl_comdat_group_id (old_decl))); new_node = cgraph_node::create_same_body_alias (new_decl, info->new_decl); new_node->tm_clone = true; @@ -4883,7 +4884,8 @@ ipa_tm_create_version (struct cgraph_node *old_node) /* Perform the same remapping to the comdat group. */ if (DECL_ONE_ONLY (new_decl)) - varpool_get_node (new_decl)->set_comdat_group (tm_mangle (DECL_COMDAT_GROUP (old_decl))); + varpool_node::get (new_decl)->set_comdat_group + (tm_mangle (DECL_COMDAT_GROUP (old_decl))); gcc_assert (!old_node->ipa_transforms_to_apply.exists ()); new_node = old_node->create_version_clone (new_decl, vNULL, NULL); |