aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/DSGraph.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/DSGraph.h')
-rw-r--r--include/llvm/Analysis/DSGraph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h
index 1d6c073..c1f941c 100644
--- a/include/llvm/Analysis/DSGraph.h
+++ b/include/llvm/Analysis/DSGraph.h
@@ -137,9 +137,9 @@ public:
/// maskNodeTypes - Apply a mask to all of the node types in the graph. This
/// is useful for clearing out markers like Incomplete.
///
- void maskNodeTypes(unsigned char Mask) {
+ void maskNodeTypes(unsigned Mask) {
for (unsigned i = 0, e = Nodes.size(); i != e; ++i)
- Nodes[i]->NodeType &= Mask;
+ Nodes[i]->maskNodeTypes(Mask);
}
void maskIncompleteMarkers() { maskNodeTypes(~DSNode::Incomplete); }