summaryrefslogtreecommitdiffstats
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
commita37249c66371f13f9e3a94231c1f688e81683c1f (patch)
tree6c228e5ea993dc15825ff4852cd91c6308ee2d37
parent3cd20632ff20fe85d00e2f0d591b5c517e85abf3 (diff)
downloadbcm5719-llvm-a37249c66371f13f9e3a94231c1f688e81683c1f.tar.gz
bcm5719-llvm-a37249c66371f13f9e3a94231c1f688e81683c1f.zip
Err, unbreak my previous "no functionality change commit", will fix properly later.
llvm-svn: 63467
-rw-r--r--clang/lib/CodeGen/CGCall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index e282980d13a..b6c5d8d273e 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud