mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-07 13:09:52 +00:00
Move maskNodeTypes to header file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4661 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
65f2897f2c
commit
7900ed146f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user