Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2aa03fba6a7507b4089350c669402ec9f73efc6b
      
https://github.com/WebKit/WebKit/commit/2aa03fba6a7507b4089350c669402ec9f73efc6b
  Author: Fujii Hironori <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to