Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 95959f01b05f81109a86ed22e692ed2ee8399758
      
https://github.com/WebKit/WebKit/commit/95959f01b05f81109a86ed22e692ed2ee8399758
  Author: Sosuke Suzuki <[email protected]>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmBBQJIT.h
    M Source/JavaScriptCore/wasm/WasmBBQJIT64.cpp
    M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp

  Log Message:
  -----------
  [JSC] Wasm Memory64 atomic ops truncate the immediate offset to 32 bits in 
BBQ and OMG
https://bugs.webkit.org/show_bug.cgi?id=314253

Reviewed by Keith Miller.

312713@main widened the immediate offset of Wasm atomic ops to uint64_t,
but a few inner emitter helpers were left with a uint32_t parameter,
silently truncating the offset for Memory64. Widen those to uint64_t.

* Source/JavaScriptCore/wasm/WasmBBQJIT.h:
* Source/JavaScriptCore/wasm/WasmBBQJIT64.cpp:
(JSC::Wasm::BBQJITImpl::BBQJIT::emitAtomicBinaryRMWOp):
(JSC::Wasm::BBQJITImpl::BBQJIT::emitAtomicCompareExchange):
* Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp:
(JSC::Wasm::OMGIRGenerator::fixupPointerPlusOffsetForAtomicOps):

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



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

Reply via email to