diff options
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
| -rw-r--r-- | lib/CodeGen/CGCall.cpp | 7 | 
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 3e4d7f323d46c..0bcf59bb5c3fa 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;  | 
