[llvm-commits] [llvm] r82395 - in /llvm/trunk/lib/Target/X86: AsmPrinter/X86IntelInstPrinter.cpp X86.td
Chris Lattner
sabre at nondot.org
Sun Sep 20 00:47:59 PDT 2009
Author: lattner
Date: Sun Sep 20 02:47:59 2009
New Revision: 82395
URL: http://llvm.org/viewvc/llvm-project?rev=82395&view=rev
Log:
remove a temporary hack.
Modified:
llvm/trunk/lib/Target/X86/AsmPrinter/X86IntelInstPrinter.cpp
llvm/trunk/lib/Target/X86/X86.td
Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86IntelInstPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86IntelInstPrinter.cpp?rev=82395&r1=82394&r2=82395&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86IntelInstPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86IntelInstPrinter.cpp Sun Sep 20 02:47:59 2009
@@ -25,7 +25,6 @@
// 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 @@
}
/// 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())
Modified: llvm/trunk/lib/Target/X86/X86.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86.td?rev=82395&r1=82394&r2=82395&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86.td (original)
+++ llvm/trunk/lib/Target/X86/X86.td Sun Sep 20 02:47:59 2009
@@ -202,7 +202,7 @@
int Variant = 0;
}
def IntelAsmWriter : AsmWriter {
- string AsmWriterClassName = "IntelAsmPrinter";
+ string AsmWriterClassName = "IntelInstPrinter";
int Variant = 1;
}
More information about the llvm-commits
mailing list