From d93037092238fe2ca0c7dcf5fcf0dc563b81aab0 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 14 Sep 2015 21:54:32 +0000 Subject: [PATCH] [WebAssembly] Simplify code by avoiding duplicating the default behavior. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247623 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TargetInfo.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 4e2e6f5f49..201bebf9db 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -624,7 +624,6 @@ ABIArgInfo WebAssemblyABIInfo::classifyArgumentType(QualType Ty) const { // though watch out for things like bitfields. if (const Type *SeltTy = isSingleElementStruct(Ty, getContext())) return ABIArgInfo::getDirect(CGT.ConvertType(QualType(SeltTy, 0))); - return getNaturalAlignIndirect(Ty); } // Otherwise just do the default thing. -- 2.50.1