mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
fprintf CAN take exactly 2 args
llvm-svn: 5830
This commit is contained in:
parent
a48a91d095
commit
2fc856e8b6
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user