mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-08 12:18:16 +00:00
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:
parent
bab8c28924
commit
9970bf6288
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user