Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 91c756f67029999875d5e13f6c384583d8f1cae5
      
https://github.com/WebKit/WebKit/commit/91c756f67029999875d5e13f6c384583d8f1cae5
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-01-29 (Thu, 29 Jan 2026)

  Changed paths:
    M Source/JavaScriptCore/assembler/LinkBuffer.cpp
    M Source/JavaScriptCore/wasm/WasmBBQPlan.cpp
    M Source/JavaScriptCore/wasm/WasmCallee.cpp
    M Source/JavaScriptCore/wasm/WasmCallee.h
    M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp
    M Source/JavaScriptCore/wasm/WasmOMGPlan.cpp
    M Source/JavaScriptCore/wasm/WasmOMGPlan.h
    M Source/JavaScriptCore/wasm/WasmOSREntryPlan.cpp

  Log Message:
  -----------
  [JSC] Attach wasm binary hash to internal wasm function name for debugging
https://bugs.webkit.org/show_bug.cgi?id=306571
rdar://169216750

Reviewed by Keith Miller.

Similar to CodeBlockHash, we attach wasm binary hash to the wasm
function name (internally) for easy debugging. Since CodeBlockHash
is strongly relying on the JS code's mechanism (e.g. Construct / Call
shares the same functions etc.), we have a bit different things so we
have different implementations.

* Source/JavaScriptCore/assembler/LinkBuffer.cpp:
(JSC::LinkBuffer::logJITCodeForJITDump):
* Source/JavaScriptCore/wasm/WasmBBQPlan.cpp:
(JSC::Wasm::BBQPlan::dumpDisassembly):
(JSC::Wasm::BBQPlan::work):
* Source/JavaScriptCore/wasm/WasmCallee.cpp:
(JSC::Wasm::Callee::dumpSimpleName const):
(JSC::Wasm::Callee::nameWithHash const):
(JSC::Wasm::IPIntCallee::computeCodeHashImpl const):
(JSC::Wasm::OptimizingJITCallee::computeCodeHashImpl const):
* Source/JavaScriptCore/wasm/WasmCallee.h:
(JSC::Wasm::Callee::computeCodeHashImpl const):
(JSC::Wasm::OptimizingJITCallee::OptimizingJITCallee):
* Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp:
(JSC::Wasm::parseAndCompileOMG):
* Source/JavaScriptCore/wasm/WasmOMGPlan.cpp:
(JSC::Wasm::OMGPlan::dumpDisassembly):
(JSC::Wasm::OMGPlan::work):
* Source/JavaScriptCore/wasm/WasmOMGPlan.h:
* Source/JavaScriptCore/wasm/WasmOSREntryPlan.cpp:
(JSC::Wasm::OSREntryPlan::dumpDisassembly):
(JSC::Wasm::OSREntryPlan::work):

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



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

Reply via email to