mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-15 16:09:57 +00:00
Print the Constant pool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae088f4b1d
commit
f61ed95a03
@ -211,14 +211,13 @@ void AlphaAsmPrinter::printConstantPool(MachineConstantPool *MCP) {
|
||||
|
||||
if (CP.empty()) return;
|
||||
|
||||
abort();
|
||||
// for (unsigned i = 0, e = CP.size(); i != e; ++i) {
|
||||
// O << "\t.section\t.rodata\n";
|
||||
// emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType()));
|
||||
// O << ".CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString
|
||||
// << *CP[i] << "\n";
|
||||
// //emitGlobalConstant(CP[i]);
|
||||
// }
|
||||
for (unsigned i = 0, e = CP.size(); i != e; ++i) {
|
||||
O << "\t.section\t.rodata\n";
|
||||
emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType()));
|
||||
O << "$CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString
|
||||
<< *CP[i] << "\n";
|
||||
emitGlobalConstant(CP[i]);
|
||||
}
|
||||
}
|
||||
|
||||
bool AlphaAsmPrinter::doInitialization(Module &M)
|
||||
|
Loading…
Reference in New Issue
Block a user