From a45dda30547563b9d2e73c05748f53e1a440e3a0 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Thu, 19 Jun 2003 19:58:32 +0000 Subject: [PATCH] Fix output bug: Intel asm comment character is #, not ;. llvm-svn: 6792 --- lib/Target/X86/Printer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/Printer.cpp b/lib/Target/X86/Printer.cpp index 0a5a33ca193..c3f1df7d1b4 100644 --- a/lib/Target/X86/Printer.cpp +++ b/lib/Target/X86/Printer.cpp @@ -52,7 +52,7 @@ void Printer::printConstantPool(MachineConstantPool *MCP, const TargetData &TD){ for (unsigned i = 0, e = CP.size(); i != e; ++i) { O << "\t.section .rodata\n"; O << "\t.align " << (unsigned)TD.getTypeAlignment(CP[i]->getType()) << "\n"; - O << ".CPI" << i+ConstIdx << ":\t\t\t\t\t;" << *CP[i] << "\n"; + O << ".CPI" << i+ConstIdx << ":\t\t\t\t\t#" << *CP[i] << "\n"; O << "\t*Constant output not implemented yet!*\n\n"; } ConstIdx += CP.size(); // Don't recycle constant pool index numbers