Err, unbreak my previous "no functionality change commit", will fix properly later.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63467 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp
index e282980..b6c5d8d 100644
--- a/lib/CodeGen/CGCall.cpp
+++ b/lib/CodeGen/CGCall.cpp
@@ -1284,7 +1284,7 @@
}
llvm::CallInst *CI = Builder.CreateCall(Callee,&Args[0],&Args[0]+Args.size());
- bool isVariadic = cast<llvm::FunctionType>(Callee->getType())->isVarArg();
+ bool isVariadic = false; // cast<llvm::FunctionType>(Callee->getType())->isVarArg();
CGFunctionInfo CallInfo(RetTy, CallArgs, isVariadic);
// FIXME: Provide TargetDecl so nounwind, noreturn, etc, etc get set.