Rename PaddedSize to AllocSize, in the hope that this
[oota-llvm.git] / lib / Target / XCore / XCoreAsmPrinter.cpp
index 45b3c37aeb9191a08a1ff7f4fe225d85c5b5d6fd..c9a6d8afd31619a92d651ead9d3d46d77268fbd4 100644 (file)
@@ -220,7 +220,7 @@ emitGlobal(const GlobalVariable *GV)
 
     EmitAlignment(Align, GV, 2);
     
-    unsigned Size = TD->getTypePaddedSize(C->getType());
+    unsigned Size = TD->getTypeAllocSize(C->getType());
     if (GV->isThreadLocal()) {
       Size *= MaxThreads;
     }