From: Daniel Dunbar Date: Sat, 31 Jan 2009 02:20:43 +0000 (+0000) Subject: Err, unbreak my previous "no functionality change commit", will fix properly later. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21a4f62fa4403f273e8dbb8afcaf9812a2f525c9;p=clang 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 e282980d13..b6c5d8d273 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -1284,7 +1284,7 @@ RValue CodeGenFunction::EmitCall(llvm::Value *Callee, } llvm::CallInst *CI = Builder.CreateCall(Callee,&Args[0],&Args[0]+Args.size()); - bool isVariadic = cast(Callee->getType())->isVarArg(); + bool isVariadic = false; // cast(Callee->getType())->isVarArg(); CGFunctionInfo CallInfo(RetTy, CallArgs, isVariadic); // FIXME: Provide TargetDecl so nounwind, noreturn, etc, etc get set.