summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-02-24 06:09:03 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-02-24 06:09:03 +0000
commitf0485ed9acbb955ec62c178e7767ba21eeaa780a (patch)
treea3424181886f8cbc265ee02ad28e95d7016c1353 /llvm/lib/Target
parent29364373ccf0c3a69abed4115daca8ee511e580e (diff)
downloadbcm5719-llvm-f0485ed9acbb955ec62c178e7767ba21eeaa780a.tar.gz
bcm5719-llvm-f0485ed9acbb955ec62c178e7767ba21eeaa780a.zip
Remove an unused variable. Was this intentional?
llvm-svn: 97022
Diffstat (limited to 'llvm/lib/Target')
-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 e941a769c9d..c0c95fea131 100644
--- a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
@@ -1091,7 +1091,6 @@ hasReservedCallFrame(MachineFunction &MF) const {
// even when FP is available in Thumb2 mode.
bool ARMBaseRegisterInfo::
canSimplifyCallFramePseudos(MachineFunction &MF) const {
- ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>();
return hasReservedCallFrame(MF) || MF.getFrameInfo()->hasVarSizedObjects();
}
OpenPOWER on IntegriCloud