Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: b39f2eca846a895dc126443bf682df7c73d3cd0e https://github.com/WebKit/WebKit/commit/b39f2eca846a895dc126443bf682df7c73d3cd0e Author: Yijia Huang <yijia_hu...@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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes