aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/iCall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/iCall.cpp b/lib/VMCore/iCall.cpp
index fc718d6887..3f73933690 100644
--- a/lib/VMCore/iCall.cpp
+++ b/lib/VMCore/iCall.cpp
@@ -26,7 +26,7 @@ CallInst::CallInst(Value *Meth, const vector<Value*> &params,
const MethodType::ParamTypes &PL = MTy->getParamTypes();
assert((params.size() == PL.size()) ||
- (MTy->isVarArg() && params.size() >= PL.size()-1) &&
+ (MTy->isVarArg() && params.size() >= PL.size()) &&
"Calling a function with bad signature");
for (unsigned i = 0; i < params.size(); i++)
Operands.push_back(Use(params[i], this));