[llvm-commits] CVS: llvm/lib/VMCore/SlotCalculator.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 21 12:42:01 PDT 2003
Changes in directory llvm/lib/VMCore:
SlotCalculator.cpp updated: 1.33 -> 1.34
---
Log message:
Make sure to add a type for va_next operands, which may not other wise
occur in the module
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/VMCore/SlotCalculator.cpp
diff -u llvm/lib/VMCore/SlotCalculator.cpp:1.33 llvm/lib/VMCore/SlotCalculator.cpp:1.34
--- llvm/lib/VMCore/SlotCalculator.cpp:1.33 Tue Oct 21 12:39:59 2003
+++ llvm/lib/VMCore/SlotCalculator.cpp Tue Oct 21 12:40:54 2003
@@ -177,8 +177,8 @@
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) {
More information about the llvm-commits
mailing list