diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-09 19:13:58 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-09 19:13:58 +0000 |
commit | 5ae5939fa13cfacfd1a02ca0749f931712764fcc (patch) | |
tree | 71b6d6833a577a0ac7c53bbe4417769e34cee564 /llvm/lib/CodeGen/LiveVariables.cpp | |
parent | 6c64aeb065e25c866a4916972f7bf6cda5ffe50d (diff) | |
download | bcm5719-llvm-5ae5939fa13cfacfd1a02ca0749f931712764fcc.tar.gz bcm5719-llvm-5ae5939fa13cfacfd1a02ca0749f931712764fcc.zip |
CodeGen: Remove more ilist iterator implicit conversions, NFC
llvm-svn: 249879
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp index c4c4245b884..007f4eb1ae3 100644 --- a/llvm/lib/CodeGen/LiveVariables.cpp +++ b/llvm/lib/CodeGen/LiveVariables.cpp @@ -637,7 +637,7 @@ bool LiveVariables::runOnMachineFunction(MachineFunction &mf) { // function. This guarantees that we will see the definition of a virtual // register before its uses due to dominance properties of SSA (except for PHI // nodes, which are treated as a special case). - MachineBasicBlock *Entry = MF->begin(); + MachineBasicBlock *Entry = &MF->front(); SmallPtrSet<MachineBasicBlock*,16> Visited; for (MachineBasicBlock *MBB : depth_first_ext(Entry, Visited)) { |