mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
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
This commit is contained in:
parent
389dbfbd8b
commit
2765c41c98
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user