[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Feb 14 17:28:04 PST 2003
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructure.cpp updated: 1.95 -> 1.96
---
Log message:
Fix resolution of indirect function calls... whoops
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/DataStructure.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.95 llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.96
--- llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.95 Fri Feb 14 00:28:00 2003
+++ llvm/lib/Analysis/DataStructure/DataStructure.cpp Fri Feb 14 17:27:18 2003
@@ -799,7 +799,7 @@
// 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]);
}
More information about the llvm-commits
mailing list