make sure to mark nodes returned from functions as incomplete

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20576 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-03-12 14:58:28 +00:00
parent b25959a632
commit a4319e5826

View File

@ -1489,6 +1489,7 @@ void DSGraph::markIncompleteNodes(unsigned Flags) {
for (Function::aiterator I = F.abegin(), E = F.aend(); I != E; ++I)
if (isPointerType(I->getType()))
markIncompleteNode(getNodeForValue(I).getNode());
markIncompleteNode(FI->second.getNode());
}
// Mark stuff passed into functions calls as being incomplete.