From a4319e58265e2113e3783a6d0b83e1d9a9721b81 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 12 Mar 2005 14:58:28 +0000 Subject: [PATCH] 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 --- lib/Analysis/DataStructure/DataStructure.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp index 16fe4508c8b..7679eeb4164 100644 --- a/lib/Analysis/DataStructure/DataStructure.cpp +++ b/lib/Analysis/DataStructure/DataStructure.cpp @@ -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.