diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-21 17:40:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-21 17:40:54 +0000 |
commit | 2765c41c98f8108f704977e73763f2f4d790a882 (patch) | |
tree | d957de7a5229bbbeb2d373e08254299e3f48fbb6 /lib/Bytecode | |
parent | 389dbfbd8b0e49968a3ddaee90c3486b4740f146 (diff) |
Make sure to add a type for va_next operands, which may not other wise
occur in the module
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9336 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r-- | lib/Bytecode/Writer/SlotCalculator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.cpp b/lib/Bytecode/Writer/SlotCalculator.cpp index 7b4a6da179..9969550d0b 100644 --- a/lib/Bytecode/Writer/SlotCalculator.cpp +++ b/lib/Bytecode/Writer/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) { |