[webkit-changes] [WebKit/WebKit] 8d013e: [JSC] Fix Clang build fails with -Wcast-align in Z...

EWS noreply at github.com
Wed Nov 2 14:43:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d013e8f190bdd84466a7004f94411b798a5d4c0
      https://github.com/WebKit/WebKit/commit/8d013e8f190bdd84466a7004f94411b798a5d4c0
  Author: Yijia Huang <yijia_huang at apple.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M Source/JavaScriptCore/disassembler/zydis/Zydis/ZycoreList.c

  Log Message:
  -----------
  [JSC] Fix Clang build fails with -Wcast-align in ZycoreList.c
https://bugs.webkit.org/show_bug.cgi?id=247064
rdar://101862332

Reviewed by Yusuke Suzuki.

The `cast-align` warning is thrown when cast from a type with smaller alignment
to a type with larger alignment. We should suppress this warning.

* Source/JavaScriptCore/disassembler/zydis/Zydis/ZycoreList.c:
(ZyanListAllocateNode):

Canonical link: https://commits.webkit.org/256244@main




More information about the webkit-changes mailing list