Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2c1627d7931b24e35b927bea302c4970dd03c6ae
      
https://github.com/WebKit/WebKit/commit/2c1627d7931b24e35b927bea302c4970dd03c6ae
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-10-24 (Fri, 24 Oct 2025)

  Changed paths:
    M Source/JavaScriptCore/llint/InPlaceInterpreter.asm
    M Source/JavaScriptCore/wasm/WasmOperations.cpp
    M Source/JavaScriptCore/wasm/WasmOperations.h

  Log Message:
  -----------
  [JSC] Clean up operationWasmToJSExitMarshalArguments and 
operationWasmToJSExitMarshalReturnValues
https://bugs.webkit.org/show_bug.cgi?id=301413
rdar://163321475

Reviewed by Dan Hecht.

This patch cleans up operationWasmToJSExitMarshalArguments and 
operationWasmToJSExitMarshalReturnValues.

1. Let's ensure that both uses wasmCC Callee side. This makes code
   simpler and consistent.
2. Remove operationWasmToJSExitNeedToUnpack and
   operationWasmToJSExitIterateResults. There is no need to have these
   functions separate from operationWasmToJSExitMarshalReturnValues.
   We should just do everything in operationWasmToJSExitMarshalReturnValues.
3. Make operationWasmToJSExitMarshalArguments return type `void`. Error
   should be thrown from this operation instead of IPInt side.

* Source/JavaScriptCore/llint/InPlaceInterpreter.asm:
* Source/JavaScriptCore/wasm/WasmOperations.cpp:
(JSC::Wasm::JSC_DEFINE_JIT_OPERATION):
(JSC::Wasm::assertCalleeIsReferenced):
(JSC::Wasm::gprToIndex): Deleted.
(JSC::Wasm::fprToIndex): Deleted.
* Source/JavaScriptCore/wasm/WasmOperations.h:

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



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

Reply via email to