mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-08 09:43:20 +00:00
change how we invoke the printer. Instead of passing in the MO directly,
pass in the MI, operand number, and the type of the operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15645 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf03da0ce9
commit
1caef2c0a9
@ -82,7 +82,8 @@ void AsmWriterEmitter::run(std::ostream &O) {
|
||||
--OpNo;
|
||||
}
|
||||
|
||||
O << "; printOperand(MI->getOperand(" << OpNo << "), MVT::"
|
||||
O << "; " << I->second.OperandList[OpNo].PrinterMethodName
|
||||
<< "(MI, " << I->second.OperandList[OpNo].MIOperandNo << ", MVT::"
|
||||
<< getName(I->second.OperandList[OpNo].Ty) << "); O ";
|
||||
LastEmitted = VarEnd;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user