summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-11-17 21:37:58 +0000
committerReid Kleckner <rnk@google.com>2015-11-17 21:37:58 +0000
commit0dbefa1b83eb90f7a06b5df5df254ce32be3db4b (patch)
tree26bc57f6c70102cdd0762192f0c57b0954ef6e4d /lib/CodeGen/CGCall.cpp
parent945ae62f2bd889baa3de373429472ffdda96d84d (diff)
Merge part of r246985, which disables this assertionupstream/release_37
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_37@253380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r--lib/CodeGen/CGCall.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp
index 3e4d7f323d..0bcf59bb5c 100644
--- a/lib/CodeGen/CGCall.cpp
+++ b/lib/CodeGen/CGCall.cpp
@@ -1279,12 +1279,7 @@ CodeGenTypes::GetFunctionType(const CGFunctionInfo &FI) {
}
break;
- case ABIArgInfo::Indirect: {
- assert(!retAI.getIndirectAlign() && "Align unused on indirect return.");
- resultType = llvm::Type::getVoidTy(getLLVMContext());
- break;
- }
-
+ case ABIArgInfo::Indirect:
case ABIArgInfo::Ignore:
resultType = llvm::Type::getVoidTy(getLLVMContext());
break;