From: Chris Lattner Date: Sat, 9 Nov 2002 21:02:26 +0000 (+0000) Subject: Move maskNodeTypes to header file X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7900ed146f2a5d1f774d2e190e6b7a657207d54f;p=oota-llvm.git Move maskNodeTypes to header file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4661 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp index f1fce0fb97d..aab344bb99c 100644 --- a/lib/Analysis/DataStructure/DataStructure.cpp +++ b/lib/Analysis/DataStructure/DataStructure.cpp @@ -1034,17 +1034,6 @@ void DSGraph::removeDeadNodes(bool KeepAllGlobals) { std::for_each(DeadNodes.begin(), DeadNodes.end(), deleter); } - - -// maskNodeTypes - Apply a mask to all of the node types in the graph. This -// is useful for clearing out markers like Scalar or Incomplete. -// -void DSGraph::maskNodeTypes(unsigned char Mask) { - for (unsigned i = 0, e = Nodes.size(); i != e; ++i) - Nodes[i]->NodeType &= Mask; -} - - #if 0 //===----------------------------------------------------------------------===// // GlobalDSGraph Implementation