[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Devang Patel
dpatel at apple.com
Tue Oct 24 13:32:39 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.201 -> 1.202
---
Log message:
Move getPreferredAlignmentLog from AsmPrinter to TargetData
---
Diffs of the changes: (+1 -1)
PPCAsmPrinter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.201 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.202
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.201 Wed Oct 4 22:01:21 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Tue Oct 24 15:32:14 2006
@@ -513,7 +513,7 @@
std::string name = Mang->getValueName(I);
Constant *C = I->getInitializer();
unsigned Size = TD->getTypeSize(C->getType());
- unsigned Align = getPreferredAlignmentLog(I);
+ unsigned Align = TD->getPreferredAlignmentLog(I);
if (C->isNullValue() && /* FIXME: Verify correct */
(I->hasInternalLinkage() || I->hasWeakLinkage() ||
More information about the llvm-commits
mailing list