diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-19 23:25:57 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-19 23:25:57 +0000 |
commit | 9f9559e807339ef728e372ddd358f3508bf15fce (patch) | |
tree | 81c54a74ed5efe5317b924608007ffabbebbbcc6 /llvm/lib/Target/ARM/ARMFrameLowering.cpp | |
parent | 6372a0bd51aca8762014c334926b9b13ab17e7b6 (diff) | |
download | llvm-9f9559e807339ef728e372ddd358f3508bf15fce.zip llvm-9f9559e807339ef728e372ddd358f3508bf15fce.tar.gz llvm-9f9559e807339ef728e372ddd358f3508bf15fce.tar.bz2 |
ARM: Remove implicit ilist iterator conversions, NFC
llvm-svn: 250759
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFrameLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMFrameLowering.cpp b/llvm/lib/Target/ARM/ARMFrameLowering.cpp index f0f077e..d654263 100644 --- a/llvm/lib/Target/ARM/ARMFrameLowering.cpp +++ b/llvm/lib/Target/ARM/ARMFrameLowering.cpp @@ -1895,7 +1895,7 @@ void ARMFrameLowering::adjustForSegmentedStacks( // we do not have to do the following updates for them. for (int Idx = 0; Idx < NbAddedBlocks; ++Idx) { BeforePrologueRegion.erase(AddedBlocks[Idx]); - MF.insert(&PrologueMBB, AddedBlocks[Idx]); + MF.insert(PrologueMBB.getIterator(), AddedBlocks[Idx]); } for (MachineBasicBlock *MBB : BeforePrologueRegion) { |