summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-08-16 23:26:09 +0000
committerJim Grosbach <grosbach@apple.com>2010-08-16 23:26:09 +0000
commitfecdea0bf77599038eb368db3bc6a38a14900308 (patch)
tree535e18d1e816d4514c98e2812226a7f0b80e566d /lib/CodeGen/LocalStackSlotAllocation.cpp
parent1f8aa7bf08783a438ee2afd3747477923d87b365 (diff)
downloadllvm-fecdea0bf77599038eb368db3bc6a38a14900308.tar.gz
llvm-fecdea0bf77599038eb368db3bc6a38a14900308.tar.bz2
llvm-fecdea0bf77599038eb368db3bc6a38a14900308.tar.xz
tidy up. remove unused local.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LocalStackSlotAllocation.cpp')
-rw-r--r--lib/CodeGen/LocalStackSlotAllocation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/LocalStackSlotAllocation.cpp b/lib/CodeGen/LocalStackSlotAllocation.cpp
index 75498ed8e5..8aabca0cd3 100644
--- a/lib/CodeGen/LocalStackSlotAllocation.cpp
+++ b/lib/CodeGen/LocalStackSlotAllocation.cpp
@@ -94,8 +94,6 @@ AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, int64_t &Offset,
/// abstract stack objects.
///
void LocalStackSlotPass::calculateFrameObjectOffsets(MachineFunction &Fn) {
- const TargetFrameInfo &TFI = *Fn.getTarget().getFrameInfo();
-
// Loop over all of the stack objects, assigning sequential addresses...
MachineFrameInfo *MFI = Fn.getFrameInfo();
int64_t Offset = 0;