summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-09 04:22:52 +0000
committerChris Lattner <sabre@nondot.org>2006-02-09 04:22:52 +0000
commitba97264e72ca53a673606644cc4c69c7c37c8dc5 (patch)
tree305e2ba4b194489e801db032a88e14bc3ede80ce /llvm/lib/Target
parent1cd22199dd07a19eabe5a5b078c720662b5af1a0 (diff)
downloadbcm5719-llvm-ba97264e72ca53a673606644cc4c69c7c37c8dc5.tar.gz
bcm5719-llvm-ba97264e72ca53a673606644cc4c69c7c37c8dc5.zip
rename fields of constant pool entries
llvm-svn: 26076
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
index 638a6995228..69f68094d57 100644
--- a/llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
+++ b/llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
@@ -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);
OpenPOWER on IntegriCloud