Title: [192495] trunk/Source/_javascript_Core
- Revision
- 192495
- Author
- benja...@webkit.org
- Date
- 2015-11-16 16:14:54 -0800 (Mon, 16 Nov 2015)
Log Message
Build fix after r192492
Last second change broke the build.
* b3/air/AirIteratedRegisterCoalescing.cpp:
(JSC::B3::Air::IteratedRegisterCoalescingAllocator::OrderedMoveSet::contains):
(JSC::B3::Air::IteratedRegisterCoalescingAllocator::OrderedMoveSet::takeMove):
(JSC::B3::Air::IteratedRegisterCoalescingAllocator::OrderedMoveSet::takeLastMove):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (192494 => 192495)
--- trunk/Source/_javascript_Core/ChangeLog 2015-11-16 23:52:46 UTC (rev 192494)
+++ trunk/Source/_javascript_Core/ChangeLog 2015-11-17 00:14:54 UTC (rev 192495)
@@ -1,3 +1,14 @@
+2015-11-16 Benjamin Poulain <benja...@webkit.org>
+
+ Build fix after r192492
+
+ Last second change broke the build.
+
+ * b3/air/AirIteratedRegisterCoalescing.cpp:
+ (JSC::B3::Air::IteratedRegisterCoalescingAllocator::OrderedMoveSet::contains):
+ (JSC::B3::Air::IteratedRegisterCoalescingAllocator::OrderedMoveSet::takeMove):
+ (JSC::B3::Air::IteratedRegisterCoalescingAllocator::OrderedMoveSet::takeLastMove):
+
2015-11-16 Benjamin Poulain <bpoul...@apple.com>
[JSC] Add trivial lowering for B3's Div with doubles
Modified: trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp (192494 => 192495)
--- trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp 2015-11-16 23:52:46 UTC (rev 192494)
+++ trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp 2015-11-17 00:14:54 UTC (rev 192495)
@@ -794,13 +794,13 @@
bool contains(unsigned index)
{
- return m_positionInMoveList[index] != WTF::notFound;
+ return m_positionInMoveList[index] != std::numeric_limits<unsigned>::max();
}
void takeMove(unsigned moveIndex)
{
unsigned positionInMoveList = m_positionInMoveList[moveIndex];
- if (positionInMoveList == WTF::notFound)
+ if (positionInMoveList == std::numeric_limits<unsigned>::max())
return;
ASSERT(m_moveList[positionInMoveList] == moveIndex);
@@ -809,7 +809,7 @@
m_moveList[positionInMoveList] = lastIndex;
m_moveList.removeLast();
- m_positionInMoveList[moveIndex] = WTF::notFound;
+ m_positionInMoveList[moveIndex] = std::numeric_limits<unsigned>::max();
ASSERT(!contains(moveIndex));
}
@@ -820,7 +820,7 @@
unsigned lastIndex = m_moveList.takeLast();
ASSERT(m_positionInMoveList[lastIndex] == m_moveList.size());
- m_positionInMoveList[lastIndex] = WTF::notFound;
+ m_positionInMoveList[lastIndex] = std::numeric_limits<unsigned>::max();
ASSERT(!contains(lastIndex));
return lastIndex;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes