summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-06-17 19:59:17 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-06-17 19:59:17 +0000
commit1d0acacc63036fbce5fdc25147918cc0ee867a9d (patch)
tree9ef532e4eb839483db2d085ab5b01c01bd6c33da /lib/ExecutionEngine
parent8c63883f1ff72191becfda8506e3919a50af20d8 (diff)
downloadllvm-1d0acacc63036fbce5fdc25147918cc0ee867a9d.tar.gz
llvm-1d0acacc63036fbce5fdc25147918cc0ee867a9d.tar.bz2
llvm-1d0acacc63036fbce5fdc25147918cc0ee867a9d.tar.xz
Use std::isnan instead of isnan. Brought back to you from the
future, by the reconciliation of the C++ and C99 standards. Someday. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index 8eaae50cdd..ab5dab5839 100644
--- a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/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;
}