[webkit-changes] [WebKit/WebKit] 0fc874: [JSC][armv7] Fix JSC:polymorphicThunkFor register ...

Max Rottenkolber noreply at github.com
Mon Dec 9 12:54:14 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0fc874df0fa9e667329d636682ab1c92322686bc
      https://github.com/WebKit/WebKit/commit/0fc874df0fa9e667329d636682ab1c92322686bc
  Author: Max Rottenkolber <maximilian at igalia.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    A JSTests/stress/link-polymorphic-call-memory-usage.js
    M Source/JavaScriptCore/jit/ThunkGenerators.cpp

  Log Message:
  -----------
  [JSC][armv7] Fix JSC:polymorphicThunkFor register usage on armv7
https://bugs.webkit.org/show_bug.cgi?id=284305

Reviewed by Yusuke Suzuki.

This code confused the tag register with the value register when
checking for non-cell callees when using JSVALUE32_64.

Correctly check the tag register instead.

* JSTests/stress/link-polymorphic-call-memory-usage.js: Added.
(samples):
(i.samples.forEach):
* Source/JavaScriptCore/jit/ThunkGenerators.cpp:
(JSC::polymorphicThunkFor):

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



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


More information about the webkit-changes mailing list