mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
The AsmPrinter has a Mangler. Use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -57,7 +57,7 @@ static MCInst lowerRIEfLow(const MachineInstr *MI, unsigned Opcode) {
|
||||
}
|
||||
|
||||
void SystemZAsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
||||
SystemZMCInstLower Lower(Mang, MF->getContext(), *this);
|
||||
SystemZMCInstLower Lower(MF->getContext(), *this);
|
||||
MCInst LoweredMI;
|
||||
switch (MI->getOpcode()) {
|
||||
case SystemZ::Return:
|
||||
@@ -178,7 +178,7 @@ bool SystemZAsmPrinter::PrintAsmOperand(const MachineInstr *MI,
|
||||
return true;
|
||||
OS << -int64_t(MI->getOperand(OpNo).getImm());
|
||||
} else {
|
||||
SystemZMCInstLower Lower(Mang, MF->getContext(), *this);
|
||||
SystemZMCInstLower Lower(MF->getContext(), *this);
|
||||
MCOperand MO(Lower.lowerOperand(MI->getOperand(OpNo)));
|
||||
SystemZInstPrinter::printOperand(MO, OS);
|
||||
}
|
||||
|
Reference in New Issue
Block a user