Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a2259003b12d057f7c0697b4db63df105fe213e4
https://github.com/WebKit/WebKit/commit/a2259003b12d057f7c0697b4db63df105fe213e4
Author: Yusuke Suzuki <[email protected]>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp
M Source/JavaScriptCore/bytecode/InlineCacheCompiler.h
M Source/JavaScriptCore/bytecode/SharedJITStubSet.cpp
M Source/JavaScriptCore/bytecode/SharedJITStubSet.h
Log Message:
-----------
[JSC] Cache DOMJIT code in Handler IC
https://bugs.webkit.org/show_bug.cgi?id=275525
rdar://129897956
Reviewed by Yijia Huang.
This patch tweaks DOMJIT code generation so that we generate cached Handler IC
for DOMJIT.
We cache them in SharedJITStubSet. And InlineCacheHandler holds JSGlobalObject
etc. for DOMJIT so that
we can just use shared code for DOMJIT code too in Handler IC.
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp:
(JSC::InlineCacheCompiler::generateAccessCase):
(JSC::InlineCacheCompiler::emitDOMJITGetter):
(JSC::InlineCacheCompiler::emitProxyObjectAccess):
(JSC::getByIdCustomHandlerImpl):
(JSC::putByIdCustomHandlerImpl):
(JSC::InlineCacheCompiler::compileOneAccessCaseHandler):
(JSC::InlineCacheCompiler::compileGetByIdDOMJITHandler):
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.h:
* Source/JavaScriptCore/bytecode/SharedJITStubSet.cpp:
(JSC::SharedJITStubSet::getDOMJITCode const):
(JSC::SharedJITStubSet::setDOMJITCode):
* Source/JavaScriptCore/bytecode/SharedJITStubSet.h:
Canonical link: https://commits.webkit.org/280063@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