[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Feb 8 20:23:05 PST 2006
Changes in directory llvm/lib/Target/SparcV9:
SparcV9AsmPrinter.cpp updated: 1.128 -> 1.129
---
Log message:
rename fields of constant pool entries
---
Diffs of the changes: (+2 -2)
SparcV9AsmPrinter.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.128 llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.129
--- llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.128 Tue Jan 31 16:23:14 2006
+++ llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp Wed Feb 8 22:22:52 2006
@@ -724,12 +724,12 @@
// 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);
More information about the llvm-commits
mailing list