mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
rename fields of constant pool entries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26076 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -724,12 +724,12 @@ void SparcV9AsmPrinter::emitFunction(const Function &F) {
|
||||
|
||||
// Emit constant pool for this function
|
||||
const MachineConstantPool *MCP = MF.getConstantPool();
|
||||
const std::vector<std::pair<Constant*, unsigned> > &CP = MCP->getConstants();
|
||||
const std::vector<MachineConstantPoolEntry> &CP = MCP->getConstants();
|
||||
|
||||
enterSection(ReadOnlyData);
|
||||
for (unsigned i = 0, e = CP.size(); i != e; ++i) {
|
||||
std::string cpiName = ".CPI_" + CurrentFnName + "_" + utostr(i);
|
||||
printConstant(CP[i].first, CP[i].second, cpiName);
|
||||
printConstant(CP[i].Val, CP[i].Alignment, cpiName);
|
||||
}
|
||||
|
||||
enterSection(Text);
|
||||
|
||||
Reference in New Issue
Block a user