[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
Devang Patel
dpatel at apple.com
Tue Oct 24 13:32:37 PDT 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaAsmPrinter.cpp updated: 1.52 -> 1.53
---
Log message:
Move getPreferredAlignmentLog from AsmPrinter to TargetData
---
Diffs of the changes: (+1 -1)
AlphaAsmPrinter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
diff -u llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.52 llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.53
--- llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.52 Wed Oct 4 22:01:21 2006
+++ llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp Tue Oct 24 15:32:14 2006
@@ -232,7 +232,7 @@
Constant *C = I->getInitializer();
unsigned Size = TD->getTypeSize(C->getType());
// unsigned Align = TD->getTypeAlignmentShift(C->getType());
- unsigned Align = getPreferredAlignmentLog(I);
+ unsigned Align = TD->getPreferredAlignmentLog(I);
if (C->isNullValue() &&
(I->hasLinkOnceLinkage() || I->hasInternalLinkage() ||
More information about the llvm-commits
mailing list