Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: baa3114af2f995883dec24a0e7d585b85887384c
      
https://github.com/WebKit/WebKit/commit/baa3114af2f995883dec24a0e7d585b85887384c
  Author: Yusuke Suzuki <[email protected]>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    A JSTests/stress/to-lower-case-dfg.js
    M Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h

  Log Message:
  -----------
  [JSC] Add String#toLowerCase constant folding attempt in DFG
https://bugs.webkit.org/show_bug.cgi?id=257297
rdar://109805333

Reviewed by Tadeu Zagallo.

Just adding constant folding of toLowerCase when the given string is already 
lower-case strings.

* JSTests/stress/to-lower-case-dfg.js: Added.
(shouldBe):
(test1):
(test2):
* Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):

Canonical link: https://commits.webkit.org/264521@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to