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:
Chris Lattner
2006-02-09 04:22:52 +00:00
parent 69a9563969
commit fa77d43ba1
4 changed files with 12 additions and 14 deletions

View File

@@ -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);