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 | 2c35b1c94ca6ffd87bfbb31d0ccb93a1fe381710 (patch) | |
| tree | ab1bc5d96673ec1451318e11d8027a54dbd84e7f /llvm | |
| parent | 7267b352fb02c4e6e239f960dd08a3347551e427 (diff) | |
| download | bcm5719-llvm-2c35b1c94ca6ffd87bfbb31d0ccb93a1fe381710.tar.gz bcm5719-llvm-2c35b1c94ca6ffd87bfbb31d0ccb93a1fe381710.zip | |
Make sure to add a type for va_next operands, which may not other wise
occur in the module
llvm-svn: 9336
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/VMCore/SlotCalculator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/SlotCalculator.cpp b/llvm/lib/VMCore/SlotCalculator.cpp index 7b4a6da1790..9969550d0b0 100644 --- 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) { |

