diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-03 21:39:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-03 21:39:57 +0000 |
commit | b710a81e54fb88d40acd693fe1068dbeb06ecbbf (patch) | |
tree | 5655579e59a3cecb669599932a8fed9a7d2695d9 /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
parent | 6bc4b9c7f80bdad5f16ea4e8550555352563cb4e (diff) | |
download | bcm5719-llvm-b710a81e54fb88d40acd693fe1068dbeb06ecbbf.tar.gz bcm5719-llvm-b710a81e54fb88d40acd693fe1068dbeb06ecbbf.zip |
The stack alignment is now computed dynamically, just verify it is correct.
llvm-svn: 27380
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/PrologEpilogInserter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp index b3bf88d6893..aabf78bd338 100644 --- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp +++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp @@ -321,7 +321,8 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) { // Remember the required stack alignment in case targets need it to perform // dynamic stack alignment. - FFI->setMaxAlignment(MaxAlign); + assert(FFI->getMaxAlignment() == MaxAlign && + "Stack alignment calculation broken!"); } |