projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7267b35
)
Make sure to add a type for va_next operands, which may not other wise
author
Chris Lattner
<sabre@nondot.org>
Tue, 21 Oct 2003 17:40:54 +0000
(17:40 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 21 Oct 2003 17:40:54 +0000
(17:40 +0000)
occur in the module
llvm-svn: 9336
llvm/lib/VMCore/SlotCalculator.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/VMCore/SlotCalculator.cpp
b/llvm/lib/VMCore/SlotCalculator.cpp
index
7b4a6da
..
9969550
100644
(file)
--- a/
llvm/lib/VMCore/SlotCalculator.cpp
+++ b/
llvm/lib/VMCore/SlotCalculator.cpp
@@
-177,8
+177,8
@@
void SlotCalculator::incorporateFunction(const Function *F) {
for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB)
for (BasicBlock::const_iterator I = BB->begin(), E = BB->end(); I!=E; ++I) {
getOrCreateSlot(I);
-
//
if (const VANextInst *VAN = dyn_cast<VANextInst>(I))
-
//
getOrCreateSlot(VAN->getArgType());
+ if (const VANextInst *VAN = dyn_cast<VANextInst>(I))
+ getOrCreateSlot(VAN->getArgType());
}
if (!IgnoreNamedNodes) {