diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-06-17 19:59:17 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-06-17 19:59:17 +0000 |
commit | 44a4adfad2642e63d575051177de9a26eb1939f6 (patch) | |
tree | e55de89dc2efb81de53708438784d2e76c03b6f8 /llvm/lib/ExecutionEngine/Interpreter | |
parent | ad3aabd47a6b9d3dee4628e067f72ac8a464c051 (diff) | |
download | bcm5719-llvm-44a4adfad2642e63d575051177de9a26eb1939f6.tar.gz bcm5719-llvm-44a4adfad2642e63d575051177de9a26eb1939f6.zip |
Use std::isnan instead of isnan. Brought back to you from the
future, by the reconciliation of the C++ and C99 standards. Someday.
llvm-svn: 6751
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index 8eaae50cdd5..ab5dab5839b 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp @@ -221,7 +221,7 @@ GenericValue lle_X_log(FunctionType *M, const vector<GenericValue> &Args) { 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; } |