[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Tue Feb 13 21:52:56 PST 2007
Changes in directory llvm/lib/Target/Sparc:
SparcAsmPrinter.cpp updated: 1.76 -> 1.77
---
Log message:
Generalize TargetData strings, to support more interesting forms of data.
Patch by Scott Michel.
---
Diffs of the changes: (+1 -1)
SparcAsmPrinter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
diff -u llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.76 llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.77
--- llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.76 Sat Jan 20 16:35:55 2007
+++ llvm/lib/Target/Sparc/SparcAsmPrinter.cpp Tue Feb 13 23:52:17 2007
@@ -229,7 +229,7 @@
std::string name = Mang->getValueName(I);
Constant *C = I->getInitializer();
unsigned Size = TD->getTypeSize(C->getType());
- unsigned Align = TD->getTypeAlignmentPref(C->getType());
+ unsigned Align = TD->getPrefTypeAlignment(C->getType());
if (C->isNullValue() &&
(I->hasLinkOnceLinkage() || I->hasInternalLinkage() ||
More information about the llvm-commits
mailing list