Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 097a025c366bb1eb935a398a7c1be6c90d6e40d9
https://github.com/WebKit/WebKit/commit/097a025c366bb1eb935a398a7c1be6c90d6e40d9
Author: Yusuke Suzuki <[email protected]>
Date: 2025-06-10 (Tue, 10 Jun 2025)
Changed paths:
A JSTests/stress/string-indexed-fold.js
M Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h
Log Message:
-----------
[JSC] Fold StringCharCodeAt and StringCharAt
https://bugs.webkit.org/show_bug.cgi?id=294242
rdar://152924008
Reviewed by Sosuke Suzuki.
Add very simple AI folding rules for StringCharCodeAt and StringCharAt:
doing folding when inputs are constant.
* JSTests/stress/string-indexed-fold.js: Added.
(shouldBe):
(test0):
(test1):
* Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
Canonical link: https://commits.webkit.org/296036@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