diff options
author | Chris Lattner <sabre@nondot.org> | 2003-04-19 00:50:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-04-19 00:50:37 +0000 |
commit | 14e8e2910585f5107a687de86d90e5388d66a1e1 (patch) | |
tree | 48c44726b0c845269faa692130e4b2d6d69b954e | |
parent | 2ff9343f2b04b7de8437114fc9fc03567f34128b (diff) |
Remove arbitrary limitation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5818 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/Verifier.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 0165e3b8cb..f7bcf5044d 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); |