[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 18 19:51:01 PDT 2003
Changes in directory llvm/lib/VMCore:
Verifier.cpp updated: 1.45 -> 1.46
---
Log message:
Remove arbitrary limitation
---
Diffs of the changes:
Index: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.45 llvm/lib/VMCore/Verifier.cpp:1.46
--- llvm/lib/VMCore/Verifier.cpp:1.45 Wed Apr 16 15:42:40 2003
+++ llvm/lib/VMCore/Verifier.cpp Fri Apr 18 19:50:37 2003
@@ -210,7 +210,6 @@
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);
More information about the llvm-commits
mailing list