[llvm-commits] [llvm] r46272 - /llvm/branches/release_22/lib/Target/Mips/MipsRegisterInfo.cpp
Tanya Lattner
tonic at nondot.org
Tue Jan 22 19:56:35 PST 2008
Author: tbrethou
Date: Tue Jan 22 21:56:34 2008
New Revision: 46272
URL: http://llvm.org/viewvc/llvm-project?rev=46272&view=rev
Log:
Merge from mainline.
Trivial patch to fix two warnings
Modified:
llvm/branches/release_22/lib/Target/Mips/MipsRegisterInfo.cpp
Modified: llvm/branches/release_22/lib/Target/Mips/MipsRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_22/lib/Target/Mips/MipsRegisterInfo.cpp?rev=46272&r1=46271&r2=46272&view=diff
==============================================================================
--- llvm/branches/release_22/lib/Target/Mips/MipsRegisterInfo.cpp (original)
+++ llvm/branches/release_22/lib/Target/Mips/MipsRegisterInfo.cpp Tue Jan 22 21:56:34 2008
@@ -292,6 +292,9 @@
FPOffset = NumBytes;
RAOffset = 0;
NumBytes += 4;
+ } else {
+ // No calls and no fp.
+ RAOffset = FPOffset = 0;
}
MFI->setObjectOffset(MFI->CreateStackObject(4,4), FPOffset);
More information about the llvm-commits
mailing list