Title: [226747] trunk/Source/WTF
- Revision
- 226747
- Author
- [email protected]
- Date
- 2018-01-10 17:38:29 -0800 (Wed, 10 Jan 2018)
Log Message
Add nullptr_t specialization of poison
https://bugs.webkit.org/show_bug.cgi?id=181469
Patch by Don Olmstead <[email protected]> on 2018-01-10
Reviewed by JF Bastien.
* wtf/Poisoned.h:
(WTF::PoisonedImpl::poison):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (226746 => 226747)
--- trunk/Source/WTF/ChangeLog 2018-01-11 01:35:53 UTC (rev 226746)
+++ trunk/Source/WTF/ChangeLog 2018-01-11 01:38:29 UTC (rev 226747)
@@ -1,3 +1,13 @@
+2018-01-10 Don Olmstead <[email protected]>
+
+ Add nullptr_t specialization of poison
+ https://bugs.webkit.org/show_bug.cgi?id=181469
+
+ Reviewed by JF Bastien.
+
+ * wtf/Poisoned.h:
+ (WTF::PoisonedImpl::poison):
+
2018-01-10 Commit Queue <[email protected]>
Unreviewed, rolling out r226667 and r226673.
Modified: trunk/Source/WTF/wtf/Poisoned.h (226746 => 226747)
--- trunk/Source/WTF/wtf/Poisoned.h 2018-01-11 01:35:53 UTC (rev 226746)
+++ trunk/Source/WTF/wtf/Poisoned.h 2018-01-11 01:38:29 UTC (rev 226747)
@@ -199,6 +199,7 @@
}
private:
+ constexpr static PoisonedBits poison(std::nullptr_t) { return 0; }
#if ENABLE(POISON)
template<typename U>
ALWAYS_INLINE static PoisonedBits poison(U ptr) { return ptr ? bitwise_cast<PoisonedBits>(ptr) ^ key : 0; }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes