Changeset 235740 in webkit
- Timestamp:
- Sep 6, 2018, 9:41:32 AM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
heap/RegisterState.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r235715 r235740 1 2018-09-06 Tomas Popela <tpopela@redhat.com> 2 3 [JSC] Build broken after r234975 on s390x, ppc64le, armv7hl 4 https://bugs.webkit.org/show_bug.cgi?id=189078 5 6 Reviewed by Mark Lam. 7 8 Caused by the GCC bug - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70124. 9 Using the ternary operator instead of std::max() fixes it. 10 11 * heap/RegisterState.h: 12 1 13 2018-09-05 Mark Lam <mark.lam@apple.com> 2 14 -
trunk/Source/JavaScriptCore/heap/RegisterState.h
r234975 r235740 167 167 #endif 168 168 #define ALLOCATE_AND_GET_REGISTER_STATE(registers) \ 169 alignas( std::max(alignof(void*), alignof(RegisterState))) RegisterState registers; \169 alignas(alignof(void*) > alignof(RegisterState) ? alignof(void*) : alignof(RegisterState)) RegisterState registers; \ 170 170 setjmp(registers) 171 171
Note:
See TracChangeset
for help on using the changeset viewer.