From 148d67f088dcffed8bc86577368fe5dc27e0554a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 14 Feb 2003 23:27:18 +0000 Subject: [PATCH] Fix resolution of indirect function calls... whoops llvm-svn: 5576 --- lib/Analysis/DataStructure/DataStructure.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp index 6371196c1f7..27247897e57 100644 --- a/lib/Analysis/DataStructure/DataStructure.cpp +++ b/lib/Analysis/DataStructure/DataStructure.cpp @@ -799,7 +799,7 @@ void DSGraph::markIncompleteNodes(unsigned Flags) { // Mark all global nodes as incomplete... if ((Flags & DSGraph::IgnoreGlobals) == 0) for (unsigned i = 0, e = Nodes.size(); i != e; ++i) - if (Nodes[i]->NodeType & DSNode::GlobalNode) + if (Nodes[i]->NodeType & DSNode::GlobalNode && Nodes[i]->getNumLinks()) markIncompleteNode(Nodes[i]); }