mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Change to use iterators instead of direct access
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11170 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f2592ce201
commit
04364fb01e
@ -268,8 +268,8 @@ public:
|
||||
/// is useful for clearing out markers like Incomplete.
|
||||
///
|
||||
void maskNodeTypes(unsigned Mask) {
|
||||
for (unsigned i = 0, e = Nodes.size(); i != e; ++i)
|
||||
Nodes[i]->maskNodeTypes(Mask);
|
||||
for (node_iterator I = node_begin(), E = node_end(); I != E; ++I)
|
||||
(*I)->maskNodeTypes(Mask);
|
||||
}
|
||||
void maskIncompleteMarkers() { maskNodeTypes(~DSNode::Incomplete); }
|
||||
|
||||
|
@ -268,8 +268,8 @@ public:
|
||||
/// is useful for clearing out markers like Incomplete.
|
||||
///
|
||||
void maskNodeTypes(unsigned Mask) {
|
||||
for (unsigned i = 0, e = Nodes.size(); i != e; ++i)
|
||||
Nodes[i]->maskNodeTypes(Mask);
|
||||
for (node_iterator I = node_begin(), E = node_end(); I != E; ++I)
|
||||
(*I)->maskNodeTypes(Mask);
|
||||
}
|
||||
void maskIncompleteMarkers() { maskNodeTypes(~DSNode::Incomplete); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user