[llvm-commits] CVS: llvm/tools/lli/Interpreter/ExternalFunctions.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Tue Jun 17 15:00:02 PDT 2003


Changes in directory llvm/tools/lli/Interpreter:

ExternalFunctions.cpp updated: 1.52 -> 1.53

---
Log message:

Use std::isnan instead of isnan.  Brought back to you from the
future, by the reconciliation of the C++ and C99 standards. Someday.


---
Diffs of the changes:

Index: llvm/tools/lli/Interpreter/ExternalFunctions.cpp
diff -u llvm/tools/lli/Interpreter/ExternalFunctions.cpp:1.52 llvm/tools/lli/Interpreter/ExternalFunctions.cpp:1.53
--- llvm/tools/lli/Interpreter/ExternalFunctions.cpp:1.52	Wed May 14 09:21:30 2003
+++ llvm/tools/lli/Interpreter/ExternalFunctions.cpp	Tue Jun 17 14:59:17 2003
@@ -221,7 +221,7 @@
 GenericValue lle_X_isnan(FunctionType *F, const vector<GenericValue> &Args) {
   assert(Args.size() == 1);
   GenericValue GV;
-  GV.IntVal = isnan(Args[0].DoubleVal);
+  GV.IntVal = std::isnan(Args[0].DoubleVal);
   return GV;
 }
 





More information about the llvm-commits mailing list