Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: db4158a3355bbe0540eda12699f081660adc879a
https://github.com/WebKit/WebKit/commit/db4158a3355bbe0540eda12699f081660adc879a
Author: Yusuke Suzuki <[email protected]>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp
M Source/JavaScriptCore/bytecode/InlineCacheCompiler.h
M Source/JavaScriptCore/bytecode/SharedJITStubSet.h
M Source/JavaScriptCore/bytecode/StructureStubInfo.cpp
M Source/JavaScriptCore/jit/GCAwareJITStubRoutine.cpp
Log Message:
-----------
[JSC] Always use Handler IC on Baseline JIT
https://bugs.webkit.org/show_bug.cgi?id=275573
rdar://130016303
Reviewed by Yijia Huang.
This patch enables Handler IC for ByVal ICs. We already emitted Int32 / String
/ Symbol checks inside handler when it is necessary.
So we can simply enable Handler IC for ByVal ICs. As a result, Handler IC
always use InlineCacheCompiler::compileHandler, and InlineCacheCompiler::compile
is not longer used for Handler IC. So we remove Handler IC specific code from
InlineCacheCompiler::compile.
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp:
(JSC::InlineCacheCompiler::compile):
(JSC::InlineCacheCompiler::compileOneAccessCaseHandler):
* Source/JavaScriptCore/bytecode/SharedJITStubSet.h:
(JSC::SharedJITStubSet::Searcher::Translator::equal):
(JSC::SharedJITStubSet::Searcher::Searcher):
* Source/JavaScriptCore/bytecode/StructureStubInfo.cpp:
(JSC::StructureStubInfo::addAccessCase):
(JSC::StructureStubInfo::callLinkInfoAt):
(JSC::StructureStubInfo::resetStubAsJumpInAccess):
* Source/JavaScriptCore/jit/GCAwareJITStubRoutine.cpp:
(JSC::PolymorphicAccessJITStubRoutine::computeHash):
Canonical link: https://commits.webkit.org/280098@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes