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:
7dca8e2
)
The stack alignment is now computed dynamically, just verify it is correct.
author
Chris Lattner
<sabre@nondot.org>
Mon, 3 Apr 2006 21:39:57 +0000
(21:39 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 3 Apr 2006 21:39:57 +0000
(21:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27380
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PrologEpilogInserter.cpp
b/lib/CodeGen/PrologEpilogInserter.cpp
index b3bf88d6893d5669f4f667fb8b734900ccd75b39..aabf78bd338775528b5ebd7961bdb5f3fa3277ae 100644
(file)
--- a/
lib/CodeGen/PrologEpilogInserter.cpp
+++ b/
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!");
}