projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff9343
)
Remove arbitrary limitation
author
Chris Lattner
<sabre@nondot.org>
Sat, 19 Apr 2003 00:50:37 +0000
(
00:50
+0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/VMCore/Verifier.cpp
b/lib/VMCore/Verifier.cpp
index 0165e3b8cb055eb5280481ab4ab58c7ec1c6cfbd..f7bcf5044dc8ff8020a2b685c18237233f98f1e1 100644
(file)
--- 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);