Title: [148641] trunk/Source/_javascript_Core
- Revision
- 148641
- Author
- [email protected]
- Date
- 2013-04-17 15:57:33 -0700 (Wed, 17 Apr 2013)
Log Message
Fix broken build. Replaced a static const with a #define.
https://bugs.webkit.org/show_bug.cgi?id=114577.
Unreviewed.
* runtime/Watchdog.cpp:
(JSC::Watchdog::Watchdog):
(JSC::Watchdog::isEnabled):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (148640 => 148641)
--- trunk/Source/_javascript_Core/ChangeLog 2013-04-17 22:38:31 UTC (rev 148640)
+++ trunk/Source/_javascript_Core/ChangeLog 2013-04-17 22:57:33 UTC (rev 148641)
@@ -1,5 +1,16 @@
2013-04-17 Mark Lam <[email protected]>
+ Fix broken build. Replaced a static const with a #define.
+ https://bugs.webkit.org/show_bug.cgi?id=114577.
+
+ Unreviewed.
+
+ * runtime/Watchdog.cpp:
+ (JSC::Watchdog::Watchdog):
+ (JSC::Watchdog::isEnabled):
+
+2013-04-17 Mark Lam <[email protected]>
+
Add LLINT and baseline JIT support for timing out scripts.
https://bugs.webkit.org/show_bug.cgi?id=114577.
Modified: trunk/Source/_javascript_Core/runtime/Watchdog.cpp (148640 => 148641)
--- trunk/Source/_javascript_Core/runtime/Watchdog.cpp 2013-04-17 22:38:31 UTC (rev 148640)
+++ trunk/Source/_javascript_Core/runtime/Watchdog.cpp 2013-04-17 22:57:33 UTC (rev 148641)
@@ -32,12 +32,12 @@
namespace JSC {
-static const double noLimit = std::numeric_limits<double>::infinity();
+#define NO_LIMIT std::numeric_limits<double>::infinity()
Watchdog::Watchdog()
: m_timerDidFire(false)
, m_didFire(false)
- , m_limit(noLimit)
+ , m_limit(NO_LIMIT)
, m_startTime(0)
, m_elapsedTime(0)
, m_reentryCount(0)
@@ -135,7 +135,7 @@
bool Watchdog::isEnabled()
{
- return (m_limit != noLimit);
+ return (m_limit != NO_LIMIT);
}
void Watchdog::fire()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes