[C++11,ARM64] Range based for loops TLS cleanup.

No functional change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205439 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach
2014-04-02 18:00:41 +00:00
parent 5e2ab67a19
commit 86ae767ea4

View File

@@ -80,9 +80,8 @@ struct LDTLSCleanup : public MachineFunctionPass {
} }
// Visit the children of this block in the dominator tree. // Visit the children of this block in the dominator tree.
for (MachineDomTreeNode::iterator I = Node->begin(), E = Node->end(); for (auto N : *Node) {
I != E; ++I) { Changed |= VisitNode(N, TLSBaseAddrReg);
Changed |= VisitNode(*I, TLSBaseAddrReg);
} }
return Changed; return Changed;