projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a75c8c4
)
Nodes get forwarded when they are collapsed currently.
author
Chris Lattner
<sabre@nondot.org>
Mon, 16 Jun 2003 12:08:18 +0000
(12:08 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 16 Jun 2003 12:08:18 +0000
(12:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6696
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/Local.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/Local.cpp
b/lib/Analysis/DataStructure/Local.cpp
index 005580155d63ddafe3c2babcdb9c25b470422f50..369b76d61192a647c0729c55f70aec93057eb7af 100644
(file)
--- a/
lib/Analysis/DataStructure/Local.cpp
+++ b/
lib/Analysis/DataStructure/Local.cpp
@@
-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;
}