Fix output bug: Intel asm comment character is #, not ;.

llvm-svn: 6792
This commit is contained in:
Brian Gaeke 2003-06-19 19:58:32 +00:00
parent 2181d1f1a2
commit 272c8871d7
1 changed files with 1 additions and 1 deletions

View File

@ -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