From d4aabcb0d0544c8fbe7ed712a7a6039d3150e4a5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 9 Feb 2003 18:40:25 +0000 Subject: [PATCH] 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 --- include/llvm/Analysis/DSGraph.h | 1 + include/llvm/Analysis/DataStructure/DSGraph.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h index a09602293de..6f81d089f46 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 a09602293de..6f81d089f46 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); -- 2.40.0