[llvm-commits] CVS: llvm/lib/CodeGen/PrologEpilogInserter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Apr 3 14:40:09 PDT 2006
Changes in directory llvm/lib/CodeGen:
PrologEpilogInserter.cpp updated: 1.51 -> 1.52
---
Log message:
The stack alignment is now computed dynamically, just verify it is correct.
---
Diffs of the changes: (+2 -1)
PrologEpilogInserter.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff -u llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.51 llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.52
--- llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.51 Sun Nov 6 11:43:20 2005
+++ llvm/lib/CodeGen/PrologEpilogInserter.cpp Mon Apr 3 16:39:57 2006
@@ -321,7 +321,8 @@
// 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!");
}
More information about the llvm-commits
mailing list