Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 47fbfbce93f42fd200567a124d8ffe7922b3331b
      
https://github.com/WebKit/WebKit/commit/47fbfbce93f42fd200567a124d8ffe7922b3331b
  Author: Yusuke Suzuki <[email protected]>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

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

  Log Message:
  -----------
  [JSC] Megamorphic GetByVal / PutByVal DataIC code should be shared
https://bugs.webkit.org/show_bug.cgi?id=261570
rdar://115516372

Reviewed by Alexey Shvayka.

This patch avoids repeated generation of code for Megamorphic GetByVal / 
PutByVal.
They can just use the shared code. So we first generate it, cache, and reuse it 
later.

* Source/JavaScriptCore/bytecode/AccessCase.cpp:
(JSC::SharedJITStubSet::getMegamorphic):
(JSC::SharedJITStubSet::setMegamorphic):
* Source/JavaScriptCore/bytecode/AccessCase.h:
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp:
(JSC::InlineCacheCompiler::regenerate):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to