diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-15 22:02:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-15 22:02:22 +0000 |
commit | 26eb14ba51c8eccdb3ac69370c6ac859d3be34a4 (patch) | |
tree | 9d8b742c6501bcc3e8ba0e408ea85020ec469ac8 /lib/CodeGen/PrologEpilogInserter.cpp | |
parent | 57f1b67c347b9ba1f8a1cdc3a55362d4f2aa8653 (diff) |
Stop using CreateStackObject(RegClass*)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r-- | lib/CodeGen/PrologEpilogInserter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp index d9443c83e7..e997ead86f 100644 --- a/lib/CodeGen/PrologEpilogInserter.cpp +++ b/lib/CodeGen/PrologEpilogInserter.cpp @@ -182,7 +182,7 @@ void PEI::calculateCallerSavedRegisters(MachineFunction &Fn) { if (FixedSlot == FixedSpillSlots+NumFixedSpillSlots) { // Nope, just spill it anywhere convenient. - FrameIdx = FFI->CreateStackObject(RC); + FrameIdx = FFI->CreateStackObject(RC->getSize(), RC->getAlignment()); } else { // Spill it to the stack where we must. FrameIdx = FFI->CreateFixedObject(RC->getSize(), FixedSlot->second); |