Implement a "union-findy" version of DS-Analysis, which eliminates the

Referrers list on DSNodes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5536 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-02-11 23:11:51 +00:00
parent 2cec1d3867
commit 72d29a4b00
10 changed files with 388 additions and 362 deletions
+1 -2
View File
@@ -109,8 +109,7 @@ namespace {
/// the graph.
///
DSNode *createNode(DSNode::NodeTy NodeType, const Type *Ty = 0) {
DSNode *N = new DSNode(NodeType, Ty); // Create the node
Nodes.push_back(N); // Add node to nodes list
DSNode *N = new DSNode(NodeType, Ty, &G); // Create the node
if (DisableFieldSensitivity)
N->foldNodeCompletely();
return N;