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/tree-cfg.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/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index d238138..6fee8a4 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -8500,7 +8500,7 @@ execute_fixup_cfg (void) if (TREE_CODE (lhs) == VAR_DECL && (TREE_STATIC (lhs) || DECL_EXTERNAL (lhs)) - && varpool_get_node (lhs)->writeonly) + && varpool_node::get (lhs)->writeonly) { unlink_stmt_vdef (stmt); gsi_remove (&gsi, true); @@ -8518,7 +8518,7 @@ execute_fixup_cfg (void) if (TREE_CODE (lhs) == VAR_DECL && (TREE_STATIC (lhs) || DECL_EXTERNAL (lhs)) - && varpool_get_node (lhs)->writeonly) + && varpool_node::get (lhs)->writeonly) { gimple_call_set_lhs (stmt, NULL); update_stmt (stmt); |