From 3ee382c68f662c25329fc2b456ef6aaac79b80f1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 20 Mar 2005 03:29:39 +0000 Subject: [PATCH] add a method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20709 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/DataStructure/DSNode.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h index 53865da8460..10394ddd06d 100644 --- a/include/llvm/Analysis/DataStructure/DSNode.h +++ b/include/llvm/Analysis/DataStructure/DSNode.h @@ -283,6 +283,11 @@ public: /// also marks the node with the 'G' flag if it does not already have it. /// void addGlobal(GlobalValue *GV); + + /// removeGlobal - Remove the specified global that is explicitly in the + /// globals list. + void removeGlobal(GlobalValue *GV); + void mergeGlobals(const std::vector &RHS); void clearGlobals() { std::vector().swap(Globals); } -- 2.34.1