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

John Criswell criswell at choi.cs.uiuc.edu
Thu Jun 26 16:38:07 PDT 2003


Changes in directory llvm/tools/lli/Interpreter:

ExternalFunctions.cpp updated: 1.52.2.1 -> 1.52.2.2

---
Log message:

Merged with mainline on Thursday, June 26, 2003.


---
Diffs of the changes:

Index: llvm/tools/lli/Interpreter/ExternalFunctions.cpp
diff -u llvm/tools/lli/Interpreter/ExternalFunctions.cpp:1.52.2.1 llvm/tools/lli/Interpreter/ExternalFunctions.cpp:1.52.2.2
--- llvm/tools/lli/Interpreter/ExternalFunctions.cpp:1.52.2.1	Mon Jun 23 14:04:52 2003
+++ llvm/tools/lli/Interpreter/ExternalFunctions.cpp	Thu Jun 26 16:36:15 2003
@@ -19,7 +19,7 @@
 #include <map>
 #include "Config/dlfcn.h"
 #include "Config/link.h"
-#include <math.h>
+#include <cmath>
 #include "Config/stdio.h"
 using std::vector;
 
@@ -217,14 +217,6 @@
   return GV;
 }
 
-// int isnan(double value);
-GenericValue lle_X_isnan(FunctionType *F, const vector<GenericValue> &Args) {
-  assert(Args.size() == 1);
-  GenericValue GV;
-  GV.IntVal = isnan(Args[0].DoubleVal);
-  return GV;
-}
-
 // double floor(double)
 GenericValue lle_X_floor(FunctionType *M, const vector<GenericValue> &Args) {
   assert(Args.size() == 1);
@@ -744,7 +736,6 @@
   FuncNames["lle_X_pow"]          = lle_X_pow;
   FuncNames["lle_X_exp"]          = lle_X_exp;
   FuncNames["lle_X_log"]          = lle_X_log;
-  FuncNames["lle_X_isnan"]        = lle_X_isnan;
   FuncNames["lle_X_floor"]        = lle_X_floor;
   FuncNames["lle_X_srand"]        = lle_X_srand;
   FuncNames["lle_X_drand48"]      = lle_X_drand48;





More information about the llvm-commits mailing list