Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e582db95f9efe591281ffac755def5af66d81018
      
https://github.com/WebKit/WebKit/commit/e582db95f9efe591281ffac755def5af66d81018
  Author: Dan Hecht <[email protected]>
  Date:   2025-10-04 (Sat, 04 Oct 2025)

  Changed paths:
    M Source/JavaScriptCore/llint/InPlaceInterpreter64.asm
    M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp
    M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.h

  Log Message:
  -----------
  [JSC] Fix WASM GC array.get on x86_64 Assert builds
https://bugs.webkit.org/show_bug.cgi?id=300155
rdar://161932678

Reviewed by Yusuke Suzuki.

a4 is not really available for these slow path calls and on x86_64
with ASSERT_ENABLED, it gets used to do a stack check causing
the last argument to get clobbered.

Instead, let's pass the arguments via the stack.

Testing: JSTests/wasm/gc/simd.js with Assert build

* Source/JavaScriptCore/llint/InPlaceInterpreter64.asm:
* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp:
(JSC::IPInt::WASM_IPINT_EXTERN_CPP_DECL):
* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to