Move maskNodeTypes to header file
authorChris Lattner <sabre@nondot.org>
Sat, 9 Nov 2002 21:02:26 +0000 (21:02 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 9 Nov 2002 21:02:26 +0000 (21:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4661 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/DataStructure.cpp

index f1fce0fb97d86b546493bba793df7dafadc85857..aab344bb99cecfd2628aee3a17c6b9cb80480f80 100644 (file)
@@ -1034,17 +1034,6 @@ void DSGraph::removeDeadNodes(bool KeepAllGlobals) {
   std::for_each(DeadNodes.begin(), DeadNodes.end(), deleter<DSNode>);
 }
 
-
-
-// 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