mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 13:08:00 +00:00
Fix output bug: Intel asm comment character is #, not ;.
llvm-svn: 6792
This commit is contained in:
parent
9a1a7c9671
commit
a45dda3054
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user