[webkit-changes] [WebKit/WebKit] 82a024: [JSC] Remove TailCall variants for Polymorphic Cal...

Yusuke Suzuki noreply at github.com
Fri May 24 09:27:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 82a0242a511bfdf4f786b2791cb0485b3070b73d
      https://github.com/WebKit/WebKit/commit/82a0242a511bfdf4f786b2791cb0485b3070b73d
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-05-24 (Fri, 24 May 2024)

  Changed paths:
    M Source/JavaScriptCore/bytecode/Repatch.cpp
    M Source/JavaScriptCore/jit/JITThunks.h
    M Source/JavaScriptCore/jit/ThunkGenerators.cpp
    M Source/JavaScriptCore/jit/ThunkGenerators.h

  Log Message:
  -----------
  [JSC] Remove TailCall variants for Polymorphic Call Thunks
https://bugs.webkit.org/show_bug.cgi?id=274638
rdar://128665607

Reviewed by Justin Michaud.

It turned out that only the difference was using DoNotHaveTagRegisters or not.
So let's just always use DoNotHaveTagRegisters, and stop generating TailCall variants for Polymorphic Call Thunks.

* Source/JavaScriptCore/bytecode/Repatch.cpp:
(JSC::linkPolymorphicCall):
* Source/JavaScriptCore/jit/JITThunks.h:
* Source/JavaScriptCore/jit/ThunkGenerators.cpp:
(JSC::polymorphicThunkFor):
(JSC::polymorphicThunk):
(JSC::polymorphicThunkForClosure):
(JSC::polymorphicThunkForRegularCall): Deleted.
(JSC::polymorphicThunkForTailCall): Deleted.
(JSC::polymorphicThunkForRegularCallForClosure): Deleted.
(JSC::polymorphicThunkForTailCallForClosure): Deleted.
* Source/JavaScriptCore/jit/ThunkGenerators.h:

Canonical link: https://commits.webkit.org/279274@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