summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-03-20 19:52:05 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-03-20 19:52:05 +0000
commit98a27acc6b1d4bc4bda6eb122851b3f9b39efeb8 (patch)
tree8603f62162f549900252c356258f65424a84e18b /lib
parenta3bfdf536e4ea23748028a6db8cd4f12ee4dcc98 (diff)
downloadllvm-98a27acc6b1d4bc4bda6eb122851b3f9b39efeb8.tar.gz
llvm-98a27acc6b1d4bc4bda6eb122851b3f9b39efeb8.tar.bz2
llvm-98a27acc6b1d4bc4bda6eb122851b3f9b39efeb8.tar.xz
remove unused variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMBaseRegisterInfo.cpp b/lib/Target/ARM/ARMBaseRegisterInfo.cpp
index 202da9bf2f..291369fd75 100644
--- a/lib/Target/ARM/ARMBaseRegisterInfo.cpp
+++ b/lib/Target/ARM/ARMBaseRegisterInfo.cpp
@@ -517,7 +517,6 @@ bool ARMBaseRegisterInfo::hasBasePointer(const MachineFunction &MF) const {
}
bool ARMBaseRegisterInfo::canRealignStack(const MachineFunction &MF) const {
- const MachineFrameInfo *MFI = MF.getFrameInfo();
const MachineRegisterInfo *MRI = &MF.getRegInfo();
const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>();
// We can't realign the stack if: