Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 87d57a3fc39c408dd484cd3341a9448f3be2208d
      
https://github.com/WebKit/WebKit/commit/87d57a3fc39c408dd484cd3341a9448f3be2208d
  Author: Fady Farag <[email protected]>
  Date:   2026-06-18 (Thu, 18 Jun 2026)

  Changed paths:
    M Source/JavaScriptCore/bytecode/CodeBlock.h
    M Source/JavaScriptCore/bytecode/InlineCacheHandler.h
    M Source/WTF/wtf/Compiler.h
    M Source/WTF/wtf/RefCountDebugger.cpp

  Log Message:
  -----------
  Use `[[msvc::no_unique_address]]` extension attribute to enable object layout 
optimization on the MSVC ABI
https://bugs.webkit.org/show_bug.cgi?id=317369

Reviewed by Yusuke Suzuki.

Currently the WTF NO_UNIQUE_ADDRESS macro doesn't support MSVC ABI since
the standard attribute is ignored by clang-cl even when compiling with C++23.

Use MSVC extension attribute to enable the optimization for Windows builds.

* Source/JavaScriptCore/bytecode/CodeBlock.h:
(JSC::CodeBlock::checker):
* Source/JavaScriptCore/bytecode/InlineCacheHandler.h:
* Source/WTF/wtf/Compiler.h:
* Source/WTF/wtf/RefCountDebugger.cpp:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to