Title: [157927] trunk/Source/WTF
- Revision
- 157927
- Author
- [email protected]
- Date
- 2013-10-24 07:27:05 -0700 (Thu, 24 Oct 2013)
Log Message
Remove Clang workaround.
https://bugs.webkit.org/show_bug.cgi?id=123262
Patch by Peter Molnar <[email protected]> on 2013-10-24
Reviewed by Anders Carlsson.
* wtf/CheckedArithmetic.h:
(WTF::Checked::Checked):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (157926 => 157927)
--- trunk/Source/WTF/ChangeLog 2013-10-24 13:30:12 UTC (rev 157926)
+++ trunk/Source/WTF/ChangeLog 2013-10-24 14:27:05 UTC (rev 157927)
@@ -1,3 +1,13 @@
+2013-10-24 Peter Molnar <[email protected]>
+
+ Remove Clang workaround.
+ https://bugs.webkit.org/show_bug.cgi?id=123262
+
+ Reviewed by Anders Carlsson.
+
+ * wtf/CheckedArithmetic.h:
+ (WTF::Checked::Checked):
+
2013-10-24 Ryuan Choi <[email protected]>
[EFL] Build break with latest EFL 1.8 libraries.
Modified: trunk/Source/WTF/wtf/CheckedArithmetic.h (157926 => 157927)
--- trunk/Source/WTF/wtf/CheckedArithmetic.h 2013-10-24 13:30:12 UTC (rev 157926)
+++ trunk/Source/WTF/wtf/CheckedArithmetic.h 2013-10-24 14:27:05 UTC (rev 157927)
@@ -419,9 +419,6 @@
enum ResultOverflowedTag { ResultOverflowed };
-// FIXME: Needed to workaround http://llvm.org/bugs/show_bug.cgi?id=10801
-static inline bool workAroundClangBug() { return true; }
-
template <typename T, class OverflowHandler> class Checked : public OverflowHandler {
public:
template <typename _T, class _OverflowHandler> friend class Checked;
@@ -433,9 +430,7 @@
Checked(ResultOverflowedTag)
: m_value(0)
{
- // FIXME: Remove this when clang fixes http://llvm.org/bugs/show_bug.cgi?id=10801
- if (workAroundClangBug())
- this->overflowed();
+ this->overflowed();
}
template <typename U> Checked(U value)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes