aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-11 13:27:26 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-11 13:27:26 +0000
commit7019fd3f5002854994385fbfe043618d0f3e314e (patch)
tree2b8bb6233a476f80de49b9a8c2eb50062fd9c733 /gcc/cgraphunit.c
parentb77695bbd00bab331a1d687caa3e280e4aabcc23 (diff)
2011-03-11 Martin Jambor <mjambor@suse.cz>
* cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of cgraph_node. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170870 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 049d1b9f7b6..e6a0ea65b26 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -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;