From 14e8e2910585f5107a687de86d90e5388d66a1e1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 19 Apr 2003 00:50:37 +0000 Subject: [PATCH] Remove arbitrary limitation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5818 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Verifier.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 0165e3b8cb0..f7bcf5044dc 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -210,7 +210,6 @@ void Verifier::visitFunction(Function &F) { const FunctionType *FT = F.getFunctionType(); unsigned NumArgs = F.getArgumentList().size(); - Assert2(!FT->isVarArg(), "Cannot define varargs functions in LLVM!", &F, FT); Assert2(FT->getNumParams() == NumArgs, "# formal arguments must match # of arguments for function type!", &F, FT); -- 2.34.1