Source/JavaScriptCore/ChangeLog

 12015-04-17 Milan Crha <mcrha@redhat.com>
 2
 3 Prefix isnan() with std
 4 https://bugs.webkit.org/show_bug.cgi?id=143884
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * runtime/Options.cpp:
 9 (JSC::Option::operator==):
 10
1112015-04-16 Jordan Harband <ljharb@gmail.com>
212
313 Number.parseInt is not === global parseInt in nightly r182673

Source/JavaScriptCore/runtime/Options.cpp

@@bool Option::operator==(const Option& other) const
468468 case Options::Type::unsignedType:
469469 return m_entry.unsignedVal == other.m_entry.unsignedVal;
470470 case Options::Type::doubleType:
471  return (m_entry.doubleVal == other.m_entry.doubleVal) || (isnan(m_entry.doubleVal) && isnan(other.m_entry.doubleVal));
 471 return (m_entry.doubleVal == other.m_entry.doubleVal) || (std::isnan(m_entry.doubleVal) && std::isnan(other.m_entry.doubleVal));
472472 case Options::Type::int32Type:
473473 return m_entry.int32Val == other.m_entry.int32Val;
474474 case Options::Type::optionRangeType:

Source/WTF/ChangeLog

 12015-04-17 Milan Crha <mcrha@redhat.com>
 2
 3 Prefix isnan() with std
 4 https://bugs.webkit.org/show_bug.cgi?id=143884
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * wtf/Stopwatch.h:
 9 (WTF::Stopwatch::isActive):
 10 (WTF::Stopwatch::start):
 11 (WTF::Stopwatch::stop):
 12 (WTF::Stopwatch::elapsedTime):
 13
1142015-04-16 Yusuke Suzuki <utatane.tea@gmail.com>
215
316 [ES6] Implement Symbol.for and Symbol.keyFor

Source/WTF/wtf/Stopwatch.h

@@public:
4444
4545 double elapsedTime();
4646
47  bool isActive() const { return !isnan(m_lastStartTime); }
 47 bool isActive() const { return !std::isnan(m_lastStartTime); }
4848private:
4949 Stopwatch() { reset(); }
5050

@@inline void Stopwatch::reset()
6060
6161inline void Stopwatch::start()
6262{
63  ASSERT_WITH_MESSAGE(isnan(m_lastStartTime), "Tried to start the stopwatch, but it is already running.");
 63 ASSERT_WITH_MESSAGE(std::isnan(m_lastStartTime), "Tried to start the stopwatch, but it is already running.");
6464
6565 m_lastStartTime = monotonicallyIncreasingTime();
6666}
6767
6868inline void Stopwatch::stop()
6969{
70  ASSERT_WITH_MESSAGE(!isnan(m_lastStartTime), "Tried to stop the stopwatch, but it is not running.");
 70 ASSERT_WITH_MESSAGE(!std::isnan(m_lastStartTime), "Tried to stop the stopwatch, but it is not running.");
7171
7272 m_elapsedTime += monotonicallyIncreasingTime() - m_lastStartTime;
7373 m_lastStartTime = NAN;

@@inline void Stopwatch::stop()
7575
7676inline double Stopwatch::elapsedTime()
7777{
78  bool shouldSuspend = !isnan(m_lastStartTime);
 78 bool shouldSuspend = !std::isnan(m_lastStartTime);
7979 if (shouldSuspend)
8080 stop();
8181