aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2011-06-10 02:08:27 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2011-06-10 00:08:27 +0000
commitbe330ed46a4d923603f191dc1d2d8c87f345a5f8 (patch)
tree820064b091ef4a76fbad5ec50bb9cd882bc02a80 /gcc/system.h
parent2ea91d6bdab8088137e98fc8e853f7065890466b (diff)
downloadgcc-be330ed46a4d923603f191dc1d2d8c87f345a5f8.zip
gcc-be330ed46a4d923603f191dc1d2d8c87f345a5f8.tar.gz
gcc-be330ed46a4d923603f191dc1d2d8c87f345a5f8.tar.bz2
cgraph.h (cgraph_only_called_directly_or_aliased_p): Rename from ...
* cgraph.h (cgraph_only_called_directly_or_aliased_p): Rename from ... (cgraph_only_called_directly_p): ... this one; bring offline. (resolution_used_from_other_file_p, cgraph_used_from_object_file_p, varpool_used_from_object_file_p): Drop names from the declaratoin. (cgraph_for_node_thunks_and_aliases, cgraph_for_node_and_aliases, collect_callers_of_node): New. (cgraph_function_node, cgraph_function_or_thunk_node): New functions. (cgraph_edge_recursive_p): Use cgraph_function_node. * cgraph.c (cgraph_add_thunk): Check that thunk is not already alias. (cgraph_node_cannot_be_local_p_1): Break out from ... (cgraph_node_can_be_local_p): ... here; walk aliases. (cgraph_for_node_thunks_and_aliases): New function. (cgraph_for_node_and_aliases): New function. (cgraph_make_node_local_1): Break out from ... (cgraph_make_node_local) ... here; use cgraph_for_node_thunks_and_aliases. (cgraph_set_nothrow_flag_1): Break out from ... (cgraph_set_nothrow_flag) ... here; use cgraph_for_node_thunks_and_aliases. (cgraph_set_const_flag_1): Break out from ... (cgraph_set_const_flag) ... here; use cgraph_for_node_thunks_and_aliases. (cgraph_set_pure_flag_1): Break out from ... (cgraph_set_pure_flag) ... here; use cgraph_for_node_thunks_and_aliases. (cgraph_propagate_frequency_1): Break out from ... (cgraph_propagate_frequency) ... here; use cgraph_for_node_thunks_and_aliases. (cgraph_used_from_object_file_p): Do not care about aliases. (cgraph_not_only_called_directly_p_1, cgraph_only_called_directly_p): New functions. (collect_callers_of_node_1, collect_callers_of_node): New functions. From-SVN: r174871
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions