[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Mar 13 12:22:26 PST 2005
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructure.cpp updated: 1.197 -> 1.198
---
Log message:
The incoming arguments to main (the argv list) are not complete!
---
Diffs of the changes: (+3 -4)
DataStructure.cpp | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Index: llvm/lib/Analysis/DataStructure/DataStructure.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.197 llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.198
--- llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.197 Sun Mar 13 13:05:05 2005
+++ llvm/lib/Analysis/DataStructure/DataStructure.cpp Sun Mar 13 14:22:10 2005
@@ -1482,10 +1482,9 @@
for (ReturnNodesTy::iterator FI = ReturnNodes.begin(), E =ReturnNodes.end();
FI != E; ++FI) {
Function &F = *FI->first;
- if (F.getName() != "main")
- for (Function::aiterator I = F.abegin(), E = F.aend(); I != E; ++I)
- if (isPointerType(I->getType()))
- markIncompleteNode(getNodeForValue(I).getNode());
+ for (Function::aiterator I = F.abegin(), E = F.aend(); I != E; ++I)
+ if (isPointerType(I->getType()))
+ markIncompleteNode(getNodeForValue(I).getNode());
markIncompleteNode(FI->second.getNode());
}
More information about the llvm-commits
mailing list