Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ca730ef8b0fedfc8abb24dfef9f49a55e6bbaa85
      
https://github.com/WebKit/WebKit/commit/ca730ef8b0fedfc8abb24dfef9f49a55e6bbaa85
  Author: Sergey Rubanov <[email protected]>
  Date:   2026-08-14 (Fri, 14 Aug 2026)

  Changed paths:
    A JSTests/wasm/stress/import-return-i64-bigint.js
    M Source/JavaScriptCore/wasm/js/WasmToJS.cpp

  Log Message:
  -----------
  [JSC][Wasm] Fast-path i64 BigInt on Wasm-to-JS import returns
https://bugs.webkit.org/show_bug.cgi?id=220053

Reviewed by Yusuke Suzuki.

Wasm-to-JS import stubs always called operationConvertToI64 for an i64
result. If the JS value is already a HeapBigInt, convert it in the stub
the same way JS-to-Wasm arguments already do. Numbers still go through
ToBigInt64 and throw TypeError.

* Source/JavaScriptCore/wasm/js/WasmToJS.cpp:
* JSTests/wasm/stress/import-return-i64-bigint.js: Added.

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



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

Reply via email to