summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitdc873d5e6a172f8a0037eeb71ea8f00f7f5384eb (patch)
treec0c5ac09cceea6a657b7361b5db846c41b835354 /llvm/lib
parent8cc491a6011060ef3e67f736b8bfed78a27650fc (diff)
downloadbcm5719-llvm-dc873d5e6a172f8a0037eeb71ea8f00f7f5384eb.tar.gz
bcm5719-llvm-dc873d5e6a172f8a0037eeb71ea8f00f7f5384eb.zip
remove unused variable
llvm-svn: 153116
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
index 202da9bf2f6..291369fd758 100644
--- a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
+++ b/llvm/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:
OpenPOWER on IntegriCloud