aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-09-06 08:33:48 +0000
committerDuncan Sands <baldrick@free.fr>2009-09-06 08:33:48 +0000
commit5c3f915679bede35de38a5702359ab5befc38b95 (patch)
tree663ea8e38cdb345d887be5517b8b3eb700b682da /lib/Target/ARM
parentbbfc76d44f8db3457b24e4c2fdfe0f7774a815a5 (diff)
downloadexternal_llvm-5c3f915679bede35de38a5702359ab5befc38b95.zip
external_llvm-5c3f915679bede35de38a5702359ab5befc38b95.tar.gz
external_llvm-5c3f915679bede35de38a5702359ab5befc38b95.tar.bz2
Remove some unused variables and methods warned about by
icc (#177, partial). Patch by Erick Tryzelaar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r--lib/Target/ARM/Thumb1RegisterInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/ARM/Thumb1RegisterInfo.cpp b/lib/Target/ARM/Thumb1RegisterInfo.cpp
index 796057f..258912b 100644
--- a/lib/Target/ARM/Thumb1RegisterInfo.cpp
+++ b/lib/Target/ARM/Thumb1RegisterInfo.cpp
@@ -737,8 +737,7 @@ void Thumb1RegisterInfo::emitPrologue(MachineFunction &MF) const {
// Darwin ABI requires FP to point to the stack slot that contains the
// previous FP.
if (STI.isTargetDarwin() || hasFP(MF)) {
- MachineInstrBuilder MIB =
- BuildMI(MBB, MBBI, dl, TII.get(ARM::tADDrSPi), FramePtr)
+ BuildMI(MBB, MBBI, dl, TII.get(ARM::tADDrSPi), FramePtr)
.addFrameIndex(FramePtrSpillFI).addImm(0);
}