summaryrefslogtreecommitdiffstats
path: root/llvm/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
commita7c562d664ca9cd3d0284ad0e43c081cf0be1842 (patch)
tree943c7d25e48e3357657fe825aafb5261200f06b9 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parent5ccde8593f919da6a923959cb8374b83e5cea795 (diff)
downloadbcm5719-llvm-a7c562d664ca9cd3d0284ad0e43c081cf0be1842.tar.gz
bcm5719-llvm-a7c562d664ca9cd3d0284ad0e43c081cf0be1842.zip
tidy up. remove unused local.
llvm-svn: 111206
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
-rw-r--r--llvm/lib/CodeGen/LocalStackSlotAllocation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp b/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
index 75498ed8e5a..8aabca0cd3f 100644
--- a/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud