[webkit-changes] [WebKit/WebKit] b39f2e: [JSC] Refactoring: use baseIndexWithProvenValue in...
Commit Queue
noreply at github.com
Thu Dec 14 10:23:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b39f2eca846a895dc126443bf682df7c73d3cd0e
https://github.com/WebKit/WebKit/commit/b39f2eca846a895dc126443bf682df7c73d3cd0e
Author: Yijia Huang <yijia_huang at apple.com>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
Log Message:
-----------
[JSC] Refactoring: use baseIndexWithProvenValue in FTLLowerDFGToB3.cpp
https://bugs.webkit.org/show_bug.cgi?id=266365
rdar://119628641
Reviewed by Mark Lam.
This patch has two things done:
1. Rename `baseIndex` function to `baseIndexWithProvenValue` to explicitly
indicate that this function uses `provenValue`.
2. Apply `baseIndexWithProvenValue` on all applicable code sites.
* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileGetByValImpl):
(JSC::FTL::DFG::LowerDFGToB3::compilePutByVal):
(JSC::FTL::DFG::LowerDFGToB3::compileStringCharAtImpl):
(JSC::FTL::DFG::LowerDFGToB3::compileStringCharCodeAt):
(JSC::FTL::DFG::LowerDFGToB3::compileStringCodePointAt):
(JSC::FTL::DFG::LowerDFGToB3::compileCompareStrictEq):
Canonical link: https://commits.webkit.org/272051@main
More information about the webkit-changes
mailing list