mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-02 16:54:58 +00:00
remove a temporary hack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0dc32ea0ef
commit
705764110c
@ -25,7 +25,6 @@ using namespace llvm;
|
||||
// Include the auto-generated portion of the assembly writer.
|
||||
#define MachineInstr MCInst
|
||||
#define NO_ASM_WRITER_BOILERPLATE
|
||||
#define X86IntelAsmPrinter X86IntelInstPrinter
|
||||
#include "X86GenAsmWriter1.inc"
|
||||
#undef MachineInstr
|
||||
|
||||
@ -46,8 +45,7 @@ void X86IntelInstPrinter::printSSECC(const MCInst *MI, unsigned Op) {
|
||||
}
|
||||
|
||||
/// print_pcrel_imm - This is used to print an immediate value that ends up
|
||||
/// being encoded as a pc-relative value. These print slightly differently, for
|
||||
/// example, a $ is not emitted.
|
||||
/// being encoded as a pc-relative value.
|
||||
void X86IntelInstPrinter::print_pcrel_imm(const MCInst *MI, unsigned OpNo) {
|
||||
const MCOperand &Op = MI->getOperand(OpNo);
|
||||
if (Op.isImm())
|
||||
|
@ -202,7 +202,7 @@ def ATTAsmWriter : AsmWriter {
|
||||
int Variant = 0;
|
||||
}
|
||||
def IntelAsmWriter : AsmWriter {
|
||||
string AsmWriterClassName = "IntelAsmPrinter";
|
||||
string AsmWriterClassName = "IntelInstPrinter";
|
||||
int Variant = 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user