Rename PaddedSize to AllocSize, in the hope that this
[oota-llvm.git] / lib / CodeGen / SelectionDAG / LegalizeDAG.cpp
index 0787f933be2f724d8d44cb99edebfe072f9028a9..1a3370f0a06e7649646e46d6e26690ea60f53135 100644 (file)
@@ -3638,7 +3638,7 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
       // Increment the pointer, VAList, to the next vaarg
       Tmp3 = DAG.getNode(ISD::ADD, dl, TLI.getPointerTy(), VAList,
                          DAG.getConstant(TLI.getTargetData()->
-                                         getTypePaddedSize(VT.getTypeForMVT()),
+                                         getTypeAllocSize(VT.getTypeForMVT()),
                                          TLI.getPointerTy()));
       // Store the incremented VAList to the legalized pointer
       Tmp3 = DAG.getStore(VAList.getValue(1), dl, Tmp3, Tmp2, V, 0);