[webkit-changes] [WebKit/WebKit] 94930f: [JSC] Do not use ScratchRegisterAllocator in Handl...

Yusuke Suzuki noreply at github.com
Thu Jun 27 15:38:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 94930ffa5c03591bd3eeee1a9acae4206e965d20
      https://github.com/WebKit/WebKit/commit/94930ffa5c03591bd3eeee1a9acae4206e965d20
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp
    M Source/JavaScriptCore/bytecode/InlineCacheCompiler.h
    M Source/JavaScriptCore/jit/JITOperations.cpp
    M Source/JavaScriptCore/jit/JITOperations.h

  Log Message:
  -----------
  [JSC] Do not use ScratchRegisterAllocator in Handler IC
https://bugs.webkit.org/show_bug.cgi?id=275967
rdar://130702031

Reviewed by Justin Michaud.

This patch integrates fallback of AccessCase::Transition allocation slow path via C function call so that
we do not need to use ScratchRegisterAllocator in handler implementation anymore. This makes handler implementation
and error handling much simpler.

* Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp:
(JSC::transitionHandlerImpl):
(JSC::putByIdTransitionHandlerImpl):
(JSC::putByValTransitionHandlerImpl):
(JSC::putByValCustomHandlerImpl):
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.h:
* Source/JavaScriptCore/jit/JITOperations.cpp:
(JSC::JSC_DEFINE_NOEXCEPT_JIT_OPERATION):
* Source/JavaScriptCore/jit/JITOperations.h:

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