aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-07-03 00:40:23 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-07-03 00:40:23 +0000
commit0664a67fe1cf6bbf93b51153c8cd452409995efb (patch)
treef607126c60d14c50ba9fcd542709b85a4e1b65d5 /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parent621c85b038c4508ce8db4ec4e5aed3d4b9768785 (diff)
downloadllvm-0664a67fe1cf6bbf93b51153c8cd452409995efb.zip
llvm-0664a67fe1cf6bbf93b51153c8cd452409995efb.tar.gz
llvm-0664a67fe1cf6bbf93b51153c8cd452409995efb.tar.bz2
Remove isSS argument from CreateFixedObject. Fixed objects cannot be spill slots so it's always false.
llvm-svn: 107550
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r--llvm/lib/CodeGen/PrologEpilogInserter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index d573e91..d6ee034 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -260,8 +260,7 @@ void PEI::calculateCalleeSavedRegisters(MachineFunction &Fn) {
if ((unsigned)FrameIdx > MaxCSFrameIndex) MaxCSFrameIndex = FrameIdx;
} else {
// Spill it to the stack where we must.
- FrameIdx = MFI->CreateFixedObject(RC->getSize(), FixedSlot->Offset,
- true, false);
+ FrameIdx = MFI->CreateFixedObject(RC->getSize(), FixedSlot->Offset, true);
}
I->setFrameIdx(FrameIdx);