Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f5136ab26806b4364793f90187862080a1239d50
      
https://github.com/WebKit/WebKit/commit/f5136ab26806b4364793f90187862080a1239d50
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-07-12 (Sat, 12 Jul 2025)

  Changed paths:
    M Source/JavaScriptCore/runtime/StringPrototypeInlines.h

  Log Message:
  -----------
  [JSC] Delay CachedCall initialization further
https://bugs.webkit.org/show_bug.cgi?id=295826
rdar://155661398

Reviewed by Keith Miller.

In many cases, string.replace(/regexp/, func) will not match anything.
We should initialize CachedCall only after we found a matching case at
least once.

* Source/JavaScriptCore/runtime/StringPrototypeInlines.h:
(JSC::replaceUsingRegExpSearch):

Canonical link: https://commits.webkit.org/297311@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

Reply via email to