[webkit-changes] [WebKit/WebKit] 2aa03f: Rearrange bit fields of JSC::UnlinkedFunctionExecu...

Fujii Hironori noreply at github.com
Wed Apr 19 14:59:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2aa03fba6a7507b4089350c669402ec9f73efc6b
      https://github.com/WebKit/WebKit/commit/2aa03fba6a7507b4089350c669402ec9f73efc6b
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    M Source/JavaScriptCore/bytecode/UnlinkedFunctionExecutable.h

  Log Message:
  -----------
  Rearrange bit fields of JSC::UnlinkedFunctionExecutable for Windows
https://bugs.webkit.org/show_bug.cgi?id=255571

Reviewed by Yusuke Suzuki.

Clang-cl reported the following static_assert failure for Windows
port. Use uint16_t and uint8_t to pack the bit fields.

> bytecode/UnlinkedFunctionExecutable.h(327,1): error: static assertion failed due to requirement 'sizeof(JSC::UnlinkedFunctionExecutable) <= 96': UnlinkedFunctionExecutable needs to be small
> bytecode/UnlinkedFunctionExecutable.h(327,50): note: expression evaluates to '104 <= 96'

* Source/JavaScriptCore/bytecode/UnlinkedFunctionExecutable.h:

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




More information about the webkit-changes mailing list