Remove arbitrary limitation
authorChris Lattner <sabre@nondot.org>
Sat, 19 Apr 2003 00:50:37 +0000 (00:50 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 19 Apr 2003 00:50:37 +0000 (00:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5818 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Verifier.cpp

index 0165e3b8cb055eb5280481ab4ab58c7ec1c6cfbd..f7bcf5044dc8ff8020a2b685c18237233f98f1e1 100644 (file)
@@ -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);