diff options
| author | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-18 18:34:52 +0000 |
|---|---|---|
| committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-18 18:34:52 +0000 |
| commit | 9144ec4764dfd4020db346ab4f92d59408b30744 (patch) | |
| tree | 76c6702fa8341887545ebbfb922dd33eababceb6 /llvm/lib/Bytecode/Writer/SlotCalculator.cpp | |
| parent | 4549a86233963ebfc1ce1e7ea33cfb6701b84546 (diff) | |
| download | bcm5719-llvm-9144ec4764dfd4020db346ab4f92d59408b30744.tar.gz bcm5719-llvm-9144ec4764dfd4020db346ab4f92d59408b30744.zip | |
core changes for varargs
llvm-svn: 22254
Diffstat (limited to 'llvm/lib/Bytecode/Writer/SlotCalculator.cpp')
| -rw-r--r-- | llvm/lib/Bytecode/Writer/SlotCalculator.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Bytecode/Writer/SlotCalculator.cpp b/llvm/lib/Bytecode/Writer/SlotCalculator.cpp index fbeb50c03ae..c6aba09fe51 100644 --- a/llvm/lib/Bytecode/Writer/SlotCalculator.cpp +++ b/llvm/lib/Bytecode/Writer/SlotCalculator.cpp @@ -187,8 +187,6 @@ void SlotCalculator::processModule() { !isa<GlobalValue>(I->getOperand(op))) getOrCreateSlot(I->getOperand(op)); getOrCreateSlot(I->getType()); - if (const VANextInst *VAN = dyn_cast<VANextInst>(&*I)) - getOrCreateSlot(VAN->getArgType()); } processSymbolTableConstants(&F->getSymbolTable()); } @@ -320,8 +318,6 @@ void SlotCalculator::incorporateFunction(const Function *F) { getOrCreateSlot(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()); } } @@ -472,8 +468,6 @@ void SlotCalculator::buildCompactionTable(const Function *F) { for (unsigned op = 0, e = I->getNumOperands(); op != e; ++op) if (isa<Constant>(I->getOperand(op))) getOrCreateCompactionTableSlot(I->getOperand(op)); - if (const VANextInst *VAN = dyn_cast<VANextInst>(&*I)) - getOrCreateCompactionTableSlot(VAN->getArgType()); } // Do the types in the symbol table |

