[llvm-commits] CVS: llvm/tools/lli/Interpreter/ExternalFunctions.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Apr 21 17:45:02 PDT 2003
Changes in directory llvm/tools/lli/Interpreter:
ExternalFunctions.cpp updated: 1.43 -> 1.44
---
Log message:
fprintf CAN take exactly 2 args
---
Diffs of the changes:
Index: llvm/tools/lli/Interpreter/ExternalFunctions.cpp
diff -u llvm/tools/lli/Interpreter/ExternalFunctions.cpp:1.43 llvm/tools/lli/Interpreter/ExternalFunctions.cpp:1.44
--- llvm/tools/lli/Interpreter/ExternalFunctions.cpp:1.43 Mon Mar 31 16:12:37 2003
+++ llvm/tools/lli/Interpreter/ExternalFunctions.cpp Mon Apr 21 17:43:20 2003
@@ -685,7 +685,7 @@
// 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));
More information about the llvm-commits
mailing list