cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of cgraph_node.

2011-03-11  Martin Jambor  <mjambor@suse.cz>

	* cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of
	cgraph_node.

From-SVN: r170870
This commit is contained in:
Martin Jambor 2011-03-11 14:27:26 +01:00 committed by Martin Jambor
parent dcb9e2c19a
commit 62ecfeb8b9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-03-11 Martin Jambor <mjambor@suse.cz>
* cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of
cgraph_node.
2011-03-11 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/48063

View File

@ -551,7 +551,7 @@ verify_cgraph_node (struct cgraph_node *node)
error_found = true;
}
if (!cgraph_node (node->decl))
if (!cgraph_get_node (node->decl))
{
error ("node not found in cgraph_hash");
error_found = true;