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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke
2003-06-19 19:58:32 +00:00
parent 088fa1162d
commit 3387e7f7a2
2 changed files with 2 additions and 2 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