Title: [236172] releases/WebKitGTK/webkit-2.22/Source/_javascript_Core
- Revision
- 236172
- Author
- carlo...@webkit.org
- Date
- 2018-09-19 05:33:43 -0700 (Wed, 19 Sep 2018)
Log Message
Merge r235740 - [JSC] Build broken after r234975 on s390x, ppc64le, armv7hl
https://bugs.webkit.org/show_bug.cgi?id=189078
Reviewed by Mark Lam.
Caused by the GCC bug - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70124.
Using the ternary operator instead of std::max() fixes it.
* heap/RegisterState.h:
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog (236171 => 236172)
--- releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog 2018-09-19 12:33:39 UTC (rev 236171)
+++ releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog 2018-09-19 12:33:43 UTC (rev 236172)
@@ -1,3 +1,15 @@
+2018-09-06 Tomas Popela <tpop...@redhat.com>
+
+ [JSC] Build broken after r234975 on s390x, ppc64le, armv7hl
+ https://bugs.webkit.org/show_bug.cgi?id=189078
+
+ Reviewed by Mark Lam.
+
+ Caused by the GCC bug - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70124.
+ Using the ternary operator instead of std::max() fixes it.
+
+ * heap/RegisterState.h:
+
2018-09-05 Mark Lam <mark....@apple.com>
JSPropertyNameEnumerator::visitChildren() needs to visit its m_cachedStructureID.
Modified: releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/heap/RegisterState.h (236171 => 236172)
--- releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/heap/RegisterState.h 2018-09-19 12:33:39 UTC (rev 236171)
+++ releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/heap/RegisterState.h 2018-09-19 12:33:43 UTC (rev 236172)
@@ -166,7 +166,7 @@
#pragma warning(disable: 4611)
#endif
#define ALLOCATE_AND_GET_REGISTER_STATE(registers) \
- alignas(std::max(alignof(void*), alignof(RegisterState))) RegisterState registers; \
+ alignas(alignof(void*) > alignof(RegisterState) ? alignof(void*) : alignof(RegisterState)) RegisterState registers; \
setjmp(registers)
#if COMPILER(MSVC)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes