Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0f84b27e55297a517da604e7082cf7e8aaa40200
      
https://github.com/WebKit/WebKit/commit/0f84b27e55297a517da604e7082cf7e8aaa40200
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-09-02 (Wed, 02 Sep 2026)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp

  Log Message:
  -----------
  [JSC] OMG addReturn patchpoint should say clobber macro registers
https://bugs.webkit.org/show_bug.cgi?id=323245
rdar://186499141

Reviewed by Dan Hecht.

Code::emitEpilogue can clobber macro registers when offset is very
large. Code is having `AllowMacroScratchRegisterUsageIf(jit, isARM64())`.
So let's declare this characteristics. Currently, this is fine as all
wasm return output is pinned to wasm ABI return registers and they do
not conflict with macro registers.

* Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp:
(JSC::Wasm::OMGIRGenerator::addReturn):

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



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

Reply via email to