Commit 6351a13d authored by zandobersek@gmail.com's avatar zandobersek@gmail.com

Unreviewed build fix for the EFL and GTK ports.

* runtime/CodeCache.cpp:
(JSC::CodeCacheMap::pruneSlowCase): Pass a 0 casted to the int64_t type instead of 0LL
to the std::max call so the arguments' types match.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 537e783c
2013-03-28 Zan Dobersek <zdobersek@igalia.com>
Unreviewed build fix for the EFL and GTK ports.
* runtime/CodeCache.cpp:
(JSC::CodeCacheMap::pruneSlowCase): Pass a 0 casted to the int64_t type instead of 0LL
to the std::max call so the arguments' types match.
2013-03-27 Geoffrey Garen <ggaren@apple.com>
Unreviewed build fix: Removed a dead field.
......
......@@ -40,7 +40,7 @@ const double CodeCacheMap::workingSetTime = 10.0;
void CodeCacheMap::pruneSlowCase()
{
m_minCapacity = std::max(m_size - m_sizeAtLastPrune, 0LL);
m_minCapacity = std::max(m_size - m_sizeAtLastPrune, static_cast<int64_t>(0));
m_sizeAtLastPrune = m_size;
m_timeAtLastPrune = monotonicallyIncreasingTime();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment