summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
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
commit44a4adfad2642e63d575051177de9a26eb1939f6 (patch)
treee55de89dc2efb81de53708438784d2e76c03b6f8 /llvm/lib/ExecutionEngine/Interpreter
parentad3aabd47a6b9d3dee4628e067f72ac8a464c051 (diff)
downloadbcm5719-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.cpp2
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;
}
OpenPOWER on IntegriCloud