Rename PaddedSize to AllocSize, in the hope that this
[oota-llvm.git] / lib / Target / ARM / ARMConstantIslandPass.cpp
index 746d5edf17c0cd4069c9d362b0ecfd27bc01daa8..89f77b263fbb1b7583ff1fe9a8182204cc46d1ee 100644 (file)
@@ -295,7 +295,7 @@ void ARMConstantIslands::DoInitialPlacement(MachineFunction &Fn,
   
   const TargetData &TD = *Fn.getTarget().getTargetData();
   for (unsigned i = 0, e = CPs.size(); i != e; ++i) {
-    unsigned Size = TD.getTypePaddedSize(CPs[i].getType());
+    unsigned Size = TD.getTypeAllocSize(CPs[i].getType());
     // Verify that all constant pool entries are a multiple of 4 bytes.  If not,
     // we would have to pad them out or something so that instructions stay
     // aligned.