Remove the 's' DataLayout specification
[oota-llvm.git] / lib / CodeGen / TargetLoweringBase.cpp
index 1ab198428ad087c7f6156243fbf809e88bf8577b..7b1931d407751720d6bf83b1a77cc93a993b50bb 100644 (file)
@@ -1285,7 +1285,7 @@ void llvm::GetReturnInfo(Type* ReturnType, AttributeSet attr,
 /// function arguments in the caller parameter area.  This is the actual
 /// alignment, not its logarithm.
 unsigned TargetLoweringBase::getByValTypeAlignment(Type *Ty) const {
-  return TD->getCallFrameTypeAlignment(Ty);
+  return TD->getABITypeAlignment(Ty);
 }
 
 //===----------------------------------------------------------------------===//