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 9a1a7c9671
commit a45dda3054

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