mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 07:24:25 +00:00
Changes to fix up the inst_iterator to pass to boost iterator checks. This
patch was graciously contributed by Vladimir Prus. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13185 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -186,7 +186,7 @@ void SlotCalculator::processModule() {
|
||||
if (isa<Constant>(I->getOperand(op)))
|
||||
getOrCreateSlot(I->getOperand(op));
|
||||
getOrCreateSlot(I->getType());
|
||||
if (const VANextInst *VAN = dyn_cast<VANextInst>(*I))
|
||||
if (const VANextInst *VAN = dyn_cast<VANextInst>(&*I))
|
||||
getOrCreateSlot(VAN->getArgType());
|
||||
}
|
||||
processSymbolTableConstants(&F->getSymbolTable());
|
||||
@ -448,7 +448,7 @@ void SlotCalculator::buildCompactionTable(const Function *F) {
|
||||
if (isa<Constant>(I->getOperand(op)) ||
|
||||
isa<GlobalValue>(I->getOperand(op)))
|
||||
getOrCreateCompactionTableSlot(I->getOperand(op));
|
||||
if (const VANextInst *VAN = dyn_cast<VANextInst>(*I))
|
||||
if (const VANextInst *VAN = dyn_cast<VANextInst>(&*I))
|
||||
getOrCreateCompactionTableSlot(VAN->getArgType());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user