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:
af94d58
)
Tolerate instrs with extra args
author
Chris Lattner
<sabre@nondot.org>
Fri, 13 May 2005 21:07:15 +0000
(21:07 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 13 May 2005 21:07:15 +0000
(21:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21982
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 f54be3b97f4b24a0340be78191cb4cd5be8993f3..37e40c90a95d194688e3e3940c80f8e8c4eed882 100644
(file)
--- a/
lib/CodeGen/PrologEpilogInserter.cpp
+++ b/
lib/CodeGen/PrologEpilogInserter.cpp
@@
-118,7
+118,7
@@
void PEI::calculateCallerSavedRegisters(MachineFunction &Fn) {
for (MachineBasicBlock::iterator I = BB->begin(); I != BB->end(); )
if (I->getOpcode() == FrameSetupOpcode ||
I->getOpcode() == FrameDestroyOpcode) {
- assert(I->getNumOperands()
=
= 1 && "Call Frame Setup/Destroy Pseudo"
+ assert(I->getNumOperands()
>
= 1 && "Call Frame Setup/Destroy Pseudo"
" instructions should have a single immediate argument!");
unsigned Size = I->getOperand(0).getImmedValue();
if (Size > MaxCallFrameSize) MaxCallFrameSize = Size;