aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Analysis/DSNode.h2
-rw-r--r--include/llvm/Analysis/DataStructure/DSNode.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DSNode.h b/include/llvm/Analysis/DSNode.h
index cf298a234e..5edbd72f83 100644
--- a/include/llvm/Analysis/DSNode.h
+++ b/include/llvm/Analysis/DSNode.h
@@ -62,6 +62,8 @@ public:
#if 1
DEAD = 1 << 8, // This node is dead and should not be pointed to
#endif
+
+ Composition = AllocaNode | HeapNode | GlobalNode | UnknownNode,
};
/// NodeType - A union of the above bits. "Shadow" nodes do not add any flags
diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h
index cf298a234e..5edbd72f83 100644
--- a/include/llvm/Analysis/DataStructure/DSNode.h
+++ b/include/llvm/Analysis/DataStructure/DSNode.h
@@ -62,6 +62,8 @@ public:
#if 1
DEAD = 1 << 8, // This node is dead and should not be pointed to
#endif
+
+ Composition = AllocaNode | HeapNode | GlobalNode | UnknownNode,
};
/// NodeType - A union of the above bits. "Shadow" nodes do not add any flags