Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23f4a3b7193b05d5367494d9054f7aced3359add
      
https://github.com/WebKit/WebKit/commit/23f4a3b7193b05d5367494d9054f7aced3359add
  Author: Sosuke Suzuki <aosuk...@gmail.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M Source/JavaScriptCore/interpreter/CachedCall.h

  Log Message:
  -----------
  [JSC] Assert argument count for `CachedCall#callWithArguments` on arm64
https://bugs.webkit.org/show_bug.cgi?id=289340

Reviewed by Yusuke Suzuki.

On non-arm64 environments, invoking `callWithArguments` ends up calling
`call`, which asserts the argument count. However, on arm64, a special
path is taken, so the assertion is not performed. As a result, there
was a bug where a failing debug assertion went unnoticed[1].

This patch changes to ensuring that the argument count is asserted
even for the arm64 `callWithArguments`.

[1]: https://bugs.webkit.org/show_bug.cgi?id=289079

* Source/JavaScriptCore/interpreter/CachedCall.h:
(JSC::CachedCall::callWithArguments):

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



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

Reply via email to