mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Nodes get forwarded when they are collapsed currently.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a75c8c4da8
commit
e158b19a3c
@ -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