[llvm-commits] CVS: llvm/lib/Target/X86/X86AsmPrinter.cpp X86IntelAsmPrinter.cpp
Devang Patel
dpatel at apple.com
Tue Oct 24 13:32:39 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86AsmPrinter.cpp updated: 1.204 -> 1.205
X86IntelAsmPrinter.cpp updated: 1.61 -> 1.62
---
Log message:
Move getPreferredAlignmentLog from AsmPrinter to TargetData
---
Diffs of the changes: (+2 -2)
X86AsmPrinter.cpp | 2 +-
X86IntelAsmPrinter.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/X86/X86AsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86AsmPrinter.cpp:1.204 llvm/lib/Target/X86/X86AsmPrinter.cpp:1.205
--- llvm/lib/Target/X86/X86AsmPrinter.cpp:1.204 Sun Oct 22 16:37:13 2006
+++ llvm/lib/Target/X86/X86AsmPrinter.cpp Tue Oct 24 15:32:14 2006
@@ -139,7 +139,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() ||
Index: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.61 llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.62
--- llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.61 Fri Oct 20 02:07:24 2006
+++ llvm/lib/Target/X86/X86IntelAsmPrinter.cpp Tue Oct 24 15:32:14 2006
@@ -387,7 +387,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);
bool bCustomSegment = false;
switch (I->getLinkage()) {
More information about the llvm-commits
mailing list