diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-11-19 14:23:23 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-11-19 14:23:23 +0100 |
commit | 986ad1338d0634b347cf39619964ceb4d4850713 (patch) | |
tree | 64d2caf2fc302726b3cf6921212ed6a3ca42d7d8 /gcc/cgraph.h | |
parent | 1abed66bb0ea21342637f1fabb382d80daae8287 (diff) | |
download | gcc-986ad1338d0634b347cf39619964ceb4d4850713.zip gcc-986ad1338d0634b347cf39619964ceb4d4850713.tar.gz gcc-986ad1338d0634b347cf39619964ceb4d4850713.tar.bz2 |
tree.c (need_assembler_name_p): Use cgraph_get_node instead of cgraph_node_for_decl.
* tree.c (need_assembler_name_p): Use cgraph_get_node instead
of cgraph_node_for_decl.
* cgraph.h (cgraph_node_for_decl): Remove prototype.
* cgraph.c (cgraph_node_for_decl): Remove.
(cgraph_get_node): Just return NULL if !cgraph_hash.
From-SVN: r154329
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 02c087d..e09a858 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -425,7 +425,6 @@ struct cgraph_node *cgraph_node (tree); bool cgraph_same_body_alias (tree, tree); void cgraph_remove_same_body_alias (struct cgraph_node *); struct cgraph_node *cgraph_node_for_asm (tree); -struct cgraph_node *cgraph_node_for_decl (tree); struct cgraph_edge *cgraph_edge (struct cgraph_node *, gimple); void cgraph_set_call_stmt (struct cgraph_edge *, gimple); void cgraph_set_call_stmt_including_clones (struct cgraph_node *, gimple, gimple); |