[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 9 15:03:00 PST 2002
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructure.cpp updated: 1.59 -> 1.60
---
Log message:
Move maskNodeTypes to header file
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/DataStructure.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.59 llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.60
--- llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.59 Sat Nov 9 15:00:47 2002
+++ llvm/lib/Analysis/DataStructure/DataStructure.cpp Sat Nov 9 15:02:26 2002
@@ -1034,17 +1034,6 @@
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
More information about the llvm-commits
mailing list