Prefix isnan() with std::.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Oct 2014 06:54:06 +0000 (06:54 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Oct 2014 06:54:06 +0000 (06:54 +0000)
<https://webkit.org/b/137966>.

Patch by Milan Crha <mcrha@redhat.com> on 2014-10-22
Reviewed by Carlos Garcia Campos.

* profiler/ProfileNode.h:
(JSC::ProfileNode::Call::setStartTime):
(JSC::ProfileNode::Call::setElapsedTime):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175089 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/profiler/ProfileNode.h

index a642069..154ea5f 100644 (file)
@@ -1,3 +1,14 @@
+2014-10-22  Milan Crha  <mcrha@redhat.com>
+
+        Prefix isnan() with std::.
+        <https://webkit.org/b/137966>.
+
+        Reviewed by Carlos Garcia Campos.
+
+        * profiler/ProfileNode.h:
+        (JSC::ProfileNode::Call::setStartTime):
+        (JSC::ProfileNode::Call::setElapsedTime):
+
 2014-10-22  Mark Lam  <mark.lam@apple.com>
 
         Refactoring to simplify some code in DatePrototype.cpp.
index dea9137..9ac5565 100644 (file)
@@ -65,14 +65,14 @@ namespace JSC {
             double startTime() const { return m_startTime; }
             void setStartTime(double time)
             {
-                ASSERT_ARG(time, time >= 0.0 || isnan(time));
+                ASSERT_ARG(time, time >= 0.0 || std::isnan(time));
                 m_startTime = time;
             }
 
             double elapsedTime() const { return m_elapsedTime; }
             void setElapsedTime(double time)
             {
-                ASSERT_ARG(time, time >= 0.0 || isnan(time));
+                ASSERT_ARG(time, time >= 0.0 || std::isnan(time));
                 m_elapsedTime = time;
             }