* cgraphunit.c (clone_of_p): Define unconditionally.

From-SVN: r165504
This commit is contained in:
Michael Matz 2010-10-15 12:22:28 +00:00
parent 4069d5fbd1
commit 936fcef153
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2010-10-15 Michael Matz <matz@suse.de>
* cgraphunit.c (clone_of_p): Define unconditionally.
2010-10-15 Richard Guenther <rguenther@suse.de>
PR lto/45957
@ -24,7 +28,7 @@
redirected to clone, be happy.
* cgraph.h (cgraph node): Enable former_clone_of unconditinally.
* cgraphunit.c (verify_cgraph_node, cgraph_materialize_clone): Handle
former_clone_of unconditinally.
former_clone_of unconditionally.
2010-10-14 Iain Sandoe <iains@gcc.gnu.org>

View File

@ -396,7 +396,6 @@ cgraph_mark_if_needed (tree decl)
cgraph_mark_needed_node (node);
}
#ifdef ENABLE_CHECKING
/* Return TRUE if NODE2 is equivalent to NODE or its clone. */
static bool
clone_of_p (struct cgraph_node *node, struct cgraph_node *node2)
@ -405,7 +404,6 @@ clone_of_p (struct cgraph_node *node, struct cgraph_node *node2)
node2 = node2->clone_of;
return node2 != NULL;
}
#endif
/* Verify edge E count and frequency. */