[webkit-changes] [WebKit/WebKit] 47fbfb: [JSC] Megamorphic GetByVal / PutByVal DataIC code ...
Yusuke Suzuki
noreply at github.com
Thu Sep 14 20:12:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 47fbfbce93f42fd200567a124d8ffe7922b3331b
https://github.com/WebKit/WebKit/commit/47fbfbce93f42fd200567a124d8ffe7922b3331b
Author: Yusuke Suzuki <ysuzuki at apple.com>
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
More information about the webkit-changes
mailing list