[JSC] alignas for RegisterState should respect alignof(RegisterState) too
authoryusukesuzuki@slowstart.org <yusukesuzuki@slowstart.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Aug 2018 03:06:40 +0000 (03:06 +0000)
committeryusukesuzuki@slowstart.org <yusukesuzuki@slowstart.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Aug 2018 03:06:40 +0000 (03:06 +0000)
commit3086e1550745b5d5ebf4f8a22acd50558316cd46
tree49ab2f46c22ac62b52445da41aab41376e9fa4cd
parent59d5904beb828563416ed0bdaab07d679803cc1d
[JSC] alignas for RegisterState should respect alignof(RegisterState) too
https://bugs.webkit.org/show_bug.cgi?id=188686

Reviewed by Saam Barati.

RegisterState would have larger alignment than `alignof(void*)`. We use the larger alignment value
for `alignof` for RegisterState.

* heap/RegisterState.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/heap/RegisterState.h