[cfe-commits] r63467 - /cfe/trunk/lib/CodeGen/CGCall.cpp

Daniel Dunbar daniel at zuster.org
Fri Jan 30 18:20:44 PST 2009


Author: ddunbar
Date: Fri Jan 30 20:20:43 2009
New Revision: 63467

URL: http://llvm.org/viewvc/llvm-project?rev=63467&view=rev
Log:
Err, unbreak my previous "no functionality change commit", will fix properly later.

Modified:
    cfe/trunk/lib/CodeGen/CGCall.cpp

Modified: cfe/trunk/lib/CodeGen/CGCall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCall.cpp?rev=63467&r1=63466&r2=63467&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGCall.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCall.cpp Fri Jan 30 20:20:43 2009
@@ -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.





More information about the cfe-commits mailing list