aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-02-09 18:40:25 +0000
committerChris Lattner <sabre@nondot.org>2003-02-09 18:40:25 +0000
commitd4aabcb0d0544c8fbe7ed712a7a6039d3150e4a5 (patch)
tree63da7e7c34555ae2cb3b5132d8fe603b0a8cc698
parente77f1456d782dd369aba14b4a3038cce2659035f (diff)
TD Pass now does not cause globals to mark nodes incomplete.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5512 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/DSGraph.h1
-rw-r--r--include/llvm/Analysis/DataStructure/DSGraph.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h
index a09602293d..6f81d089f4 100644
--- a/include/llvm/Analysis/DSGraph.h
+++ b/include/llvm/Analysis/DSGraph.h
@@ -142,6 +142,7 @@ public:
//
enum MarkIncompleteFlags {
MarkFormalArgs = 1, IgnoreFormalArgs = 0,
+ IgnoreGlobals = 2, MarkGlobalsIncomplete = 0,
};
void markIncompleteNodes(unsigned Flags);
diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h
index a09602293d..6f81d089f4 100644
--- a/include/llvm/Analysis/DataStructure/DSGraph.h
+++ b/include/llvm/Analysis/DataStructure/DSGraph.h
@@ -142,6 +142,7 @@ public:
//
enum MarkIncompleteFlags {
MarkFormalArgs = 1, IgnoreFormalArgs = 0,
+ IgnoreGlobals = 2, MarkGlobalsIncomplete = 0,
};
void markIncompleteNodes(unsigned Flags);