From 9970bf6288494c3060d8e8b561280167bccc6e0c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 20 Sep 2003 21:48:01 +0000 Subject: [PATCH] Don't consider incomplete nodes to be typesafe! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8635 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/DataStructureStats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/DataStructure/DataStructureStats.cpp b/lib/Analysis/DataStructure/DataStructureStats.cpp index ffd560b2457..f033b99b895 100644 --- a/lib/Analysis/DataStructure/DataStructureStats.cpp +++ b/lib/Analysis/DataStructure/DataStructureStats.cpp @@ -104,7 +104,7 @@ DSNode *DSGraphStats::getNodeForValue(Value *V) { bool DSGraphStats::isNodeForValueCollapsed(Value *V) { if (DSNode *N = getNodeForValue(V)) - return N->isNodeCompletelyFolded(); + return N->isNodeCompletelyFolded() || N->isIncomplete(); return false; }