mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 14:36:34 +00:00
Move maskNodeTypes to header file
llvm-svn: 4661
This commit is contained in:
parent
e726eb5ea7
commit
f6ea37ce99
@ -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…
Reference in New Issue
Block a user