Title: [144346] trunk/Source/WTF
- Revision
- 144346
- Author
- [email protected]
- Date
- 2013-02-28 12:13:18 -0800 (Thu, 28 Feb 2013)
Log Message
Crash in JSC::MarkedBlock::FreeList JSC::MarkedBlock::sweepHelper
https://bugs.webkit.org/show_bug.cgi?id=111059
Reviewed by Ryosuke Niwa.
Sometimes C++'s implicit operator conversion rules suck.
Add explicit operator== and !=.
* wtf/FastMalloc.cpp:
(WTF::HardenedSLL::operator!=):
(WTF::HardenedSLL::operator==):
(HardenedSLL):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (144345 => 144346)
--- trunk/Source/WTF/ChangeLog 2013-02-28 20:09:59 UTC (rev 144345)
+++ trunk/Source/WTF/ChangeLog 2013-02-28 20:13:18 UTC (rev 144346)
@@ -1,3 +1,18 @@
+2013-02-28 Oliver Hunt <[email protected]>
+
+ Crash in JSC::MarkedBlock::FreeList JSC::MarkedBlock::sweepHelper
+ https://bugs.webkit.org/show_bug.cgi?id=111059
+
+ Reviewed by Ryosuke Niwa.
+
+ Sometimes C++'s implicit operator conversion rules suck.
+ Add explicit operator== and !=.
+
+ * wtf/FastMalloc.cpp:
+ (WTF::HardenedSLL::operator!=):
+ (WTF::HardenedSLL::operator==):
+ (HardenedSLL):
+
2013-02-28 Zeno Albisser <[email protected]>
Enable DFG JIT for Qt on Mac
Modified: trunk/Source/WTF/wtf/FastMalloc.cpp (144345 => 144346)
--- trunk/Source/WTF/wtf/FastMalloc.cpp 2013-02-28 20:09:59 UTC (rev 144345)
+++ trunk/Source/WTF/wtf/FastMalloc.cpp 2013-02-28 20:13:18 UTC (rev 144346)
@@ -774,6 +774,9 @@
typedef void* (HardenedSLL::*UnspecifiedBoolType);
ALWAYS_INLINE operator UnspecifiedBoolType() const { return m_value ? &HardenedSLL::m_value : 0; }
+ bool operator!=(const HardenedSLL& other) const { return m_value != other.m_value; }
+ bool operator==(const HardenedSLL& other) const { return m_value == other.m_value; }
+
private:
void* m_value;
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes