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/LocalStackSlotAllocation.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/LocalStackSlotAllocation.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp b/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp index 837842914b4..eb60005764c 100644 --- a/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp +++ b/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp @@ -325,7 +325,7 @@ bool LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) { // Sort the frame references by local offset array_pod_sort(FrameReferenceInsns.begin(), FrameReferenceInsns.end()); - MachineBasicBlock *Entry = Fn.begin(); + MachineBasicBlock *Entry = &Fn.front(); unsigned BaseReg = 0; int64_t BaseOffset = 0; |