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
This commit is contained in:
Chris Lattner 2003-09-20 21:48:01 +00:00
parent bab8c28924
commit 9970bf6288

View File

@ -104,7 +104,7 @@ DSNode *DSGraphStats::getNodeForValue(Value *V) {
bool DSGraphStats::isNodeForValueCollapsed(Value *V) { bool DSGraphStats::isNodeForValueCollapsed(Value *V) {
if (DSNode *N = getNodeForValue(V)) if (DSNode *N = getNodeForValue(V))
return N->isNodeCompletelyFolded(); return N->isNodeCompletelyFolded() || N->isIncomplete();
return false; return false;
} }