projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3387060
)
Trivial patch to fix two warnings, please pull into llvm 2.2
author
Chris Lattner
<sabre@nondot.org>
Tue, 22 Jan 2008 04:47:47 +0000
(
04:47
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 22 Jan 2008 04:47:47 +0000
(
04:47
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46243
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Mips/MipsRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsRegisterInfo.cpp
b/lib/Target/Mips/MipsRegisterInfo.cpp
index b06ccd81f5332697d8b2c1216b1197ded716cfb9..e4dabc0b9cb82f1893cb4a37bb6e5bb7f5d32906 100644
(file)
--- a/
lib/Target/Mips/MipsRegisterInfo.cpp
+++ b/
lib/Target/Mips/MipsRegisterInfo.cpp
@@
-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);