diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-06-17 02:16:43 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-06-17 02:16:43 +0000 |
commit | cd4e0b593db6dfdb5cedbde47ea6603058b8ac6c (patch) | |
tree | 12a5a8ead648e2cb789be67a9807cd8ed0feafc0 /lib/Target | |
parent | e1fd84af7affc08cda70a4c8261f52ac83195bc4 (diff) | |
download | external_llvm-cd4e0b593db6dfdb5cedbde47ea6603058b8ac6c.zip external_llvm-cd4e0b593db6dfdb5cedbde47ea6603058b8ac6c.tar.gz external_llvm-cd4e0b593db6dfdb5cedbde47ea6603058b8ac6c.tar.bz2 |
Update an insertion point iterator after replacing a return instruction with a
tail call pseudoinstruction. This fixes <rdar://problem/9624333>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/ARM/ARMFrameLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMFrameLowering.cpp b/lib/Target/ARM/ARMFrameLowering.cpp index 516e34a..4ef2666 100644 --- a/lib/Target/ARM/ARMFrameLowering.cpp +++ b/lib/Target/ARM/ARMFrameLowering.cpp @@ -427,6 +427,7 @@ void ARMFrameLowering::emitEpilogue(MachineFunction &MF, // Delete the pseudo instruction TCRETURN. MBB.erase(MBBI); + MBBI = NewMI; } if (VARegSaveSize) |