[webkit-changes] [WebKit/WebKit] cf4a2d: [JSC] Add ByVal Custom handlers

Yusuke Suzuki noreply at github.com
Tue Jun 25 08:01:51 PDT 2024


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

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

  Log Message:
  -----------
  [JSC] Add ByVal Custom handlers
https://bugs.webkit.org/show_bug.cgi?id=275838
rdar://130472591

Reviewed by Yijia Huang.

This patch implements ByVal custom handlers (GetByVal / PutByVal custom accessors / custom values).

* Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp:
(JSC::customGetterHandlerImpl):
(JSC::getByIdCustomHandlerImpl):
(JSC::customSetterHandlerImpl):
(JSC::putByIdCustomHandlerImpl):
(JSC::getByValLoadHandlerImpl):
(JSC::getByValCustomHandlerImpl):
(JSC::getByValWithStringCustomAccessorHandler):
(JSC::getByValWithStringCustomValueHandler):
(JSC::getByValWithSymbolCustomAccessorHandler):
(JSC::getByValWithSymbolCustomValueHandler):
(JSC::putByValCustomHandlerImpl):
(JSC::putByValWithStringCustomAccessorHandler):
(JSC::putByValWithStringCustomValueHandler):
(JSC::putByValWithSymbolCustomAccessorHandler):
(JSC::putByValWithSymbolCustomValueHandler):
(JSC::checkPrivateBrandHandler):
(JSC::InlineCacheCompiler::compileOneAccessCaseHandler):
(JSC::InlineCacheCompiler::compileGetByDOMJITHandler):
(JSC::InlineCacheCompiler::compileGetByIdDOMJITHandler): Deleted.
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.h:
* Source/JavaScriptCore/jit/JITThunks.h:

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