mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 05:55:40 +00:00
Nodes get forwarded when they are collapsed currently.
llvm-svn: 6696
This commit is contained in:
parent
e718da0d46
commit
2806ac8828
@ -110,8 +110,11 @@ namespace {
|
||||
///
|
||||
DSNode *createNode(DSNode::NodeTy NodeType, const Type *Ty = 0) {
|
||||
DSNode *N = new DSNode(NodeType, Ty, &G); // Create the node
|
||||
if (DisableFieldSensitivity)
|
||||
if (DisableFieldSensitivity) {
|
||||
N->foldNodeCompletely();
|
||||
if (DSNode *FN = N->getForwardNode())
|
||||
N = FN;
|
||||
}
|
||||
return N;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user