Rename PaddedSize to AllocSize, in the hope that this
[oota-llvm.git] / lib / Target / IA64 / AsmPrinter / IA64AsmPrinter.cpp
index 9cdcd73c633ae0b824a616110a820ea48a9e6792..fc54e23a44d7ee342310c37d17e335d85dbf644f 100644 (file)
@@ -269,7 +269,7 @@ void IA64AsmPrinter::printModuleLevelGV(const GlobalVariable* GVar) {
   O << "\n\n";
   std::string name = Mang->getValueName(GVar);
   Constant *C = GVar->getInitializer();
-  unsigned Size = TD->getTypePaddedSize(C->getType());
+  unsigned Size = TD->getTypeAllocSize(C->getType());
   unsigned Align = TD->getPreferredAlignmentLog(GVar);
 
   printVisibility(name, GVar->getVisibility());