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); }