Trivial patch to fix two warnings, please pull into llvm 2.2
llvm-svn: 46243
This commit is contained in:
parent
af2a022563
commit
1dea406e73
|
@ -292,6 +292,9 @@ emitPrologue(MachineFunction &MF) const
|
||||||
FPOffset = NumBytes;
|
FPOffset = NumBytes;
|
||||||
RAOffset = 0;
|
RAOffset = 0;
|
||||||
NumBytes += 4;
|
NumBytes += 4;
|
||||||
|
} else {
|
||||||
|
// No calls and no fp.
|
||||||
|
RAOffset = FPOffset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
MFI->setObjectOffset(MFI->CreateStackObject(4,4), FPOffset);
|
MFI->setObjectOffset(MFI->CreateStackObject(4,4), FPOffset);
|
||||||
|
|
Loading…
Reference in New Issue