fprintf CAN take exactly 2 args

llvm-svn: 5830
This commit is contained in:
Chris Lattner 2003-04-21 22:43:20 +00:00
parent 5b348718df
commit 1610666ea5
1 changed files with 1 additions and 1 deletions

View File

@ -685,7 +685,7 @@ GenericValue lle_X_ungetc(FunctionType *M, const vector<GenericValue> &Args) {
// int fprintf(FILE *,sbyte *, ...) - a very rough implementation to make output
// useful.
GenericValue lle_X_fprintf(FunctionType *M, const vector<GenericValue> &Args) {
assert(Args.size() > 2);
assert(Args.size() >= 2);
char Buffer[10000];
vector<GenericValue> NewArgs;
NewArgs.push_back(PTOGV(Buffer));