mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-06 02:47:20 +00:00
Trivial patch to fix two warnings, please pull into llvm 2.2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46243 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3387060470
commit
18bef16d84
@ -292,6 +292,9 @@ emitPrologue(MachineFunction &MF) const
|
||||
FPOffset = NumBytes;
|
||||
RAOffset = 0;
|
||||
NumBytes += 4;
|
||||
} else {
|
||||
// No calls and no fp.
|
||||
RAOffset = FPOffset = 0;
|
||||
}
|
||||
|
||||
MFI->setObjectOffset(MFI->CreateStackObject(4,4), FPOffset);
|
||||
|
Loading…
Reference in New Issue
Block a user