tree.c (need_assembler_name_p): Use cgraph_get_node instead of cgraph_node_for_decl.
authorJakub Jelinek <jakub@redhat.com>
Thu, 19 Nov 2009 13:23:23 +0000 (14:23 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 19 Nov 2009 13:23:23 +0000 (14:23 +0100)
commit986ad1338d0634b347cf39619964ceb4d4850713
tree64d2caf2fc302726b3cf6921212ed6a3ca42d7d8
parent1abed66bb0ea21342637f1fabb382d80daae8287
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
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/tree.c