1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

tidy up. remove unused local.

llvm-svn: 111206
This commit is contained in:
Jim Grosbach 2010-08-16 23:26:09 +00:00
parent 70e0faed21
commit 9e252e854d
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -570,6 +570,8 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
// will be used later when resolving frame base virtual register pseudos.
MFI->setLocalFrameBaseOffset(Offset);
DEBUG(dbgs() << "Local frame base offset: " << Offset << "\n");
// Allocate the local block
Offset += MFI->getLocalFrameSize();