aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-01-31 02:20:43 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-01-31 02:20:43 +0000
commit21a4f62fa4403f273e8dbb8afcaf9812a2f525c9 (patch)
tree5f2170532d7435d59cf02524a7ae0470c159ee3e
parent725ad31086e3d6c41afa10c43db44f2e7060a961 (diff)
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
-rw-r--r--lib/CodeGen/CGCall.cpp2
1 files changed, 1 insertions, 1 deletions
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<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.