mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 06:53:53 +00:00
Stop printing old asm printing code inline with -experimental-asm-printer (this allows diffing and assembling the .s)
llvm-svn: 80604
This commit is contained in:
parent
a8c6218140
commit
1953d69113
@ -880,15 +880,10 @@ void X86ATTAsmPrinter::printMachineInstruction(const MachineInstr *MI) {
|
||||
TmpInst.setOpcode(X86::POP32r);
|
||||
TmpInst.getOperand(0) = MCOperand::CreateReg(MI->getOperand(0).getReg());
|
||||
printInstruction(&TmpInst);
|
||||
O << "OLD: ";
|
||||
// Call the autogenerated instruction printer routines.
|
||||
printInstruction(MI);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
O << "NEW: ";
|
||||
|
||||
TmpInst.setOpcode(MI->getOpcode());
|
||||
|
||||
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
|
||||
@ -930,10 +925,6 @@ void X86ATTAsmPrinter::printMachineInstruction(const MachineInstr *MI) {
|
||||
|
||||
// FIXME: Convert TmpInst.
|
||||
printInstruction(&TmpInst);
|
||||
O << "OLD: ";
|
||||
|
||||
// Call the autogenerated instruction printer routines.
|
||||
printInstruction(MI);
|
||||
}
|
||||
|
||||
void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
|
||||
|
Loading…
Reference in New Issue
Block a user