Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 93c1636c4e8f852c0ed129c4a13971d04f64548a
      
https://github.com/WebKit/WebKit/commit/93c1636c4e8f852c0ed129c4a13971d04f64548a
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
    M Source/JavaScriptCore/dfg/DFGMayExit.cpp

  Log Message:
  -----------
  [JSC] Do not perform String.replace(String, String) when it is not observable
https://bugs.webkit.org/show_bug.cgi?id=280712
rdar://137082146

Reviewed by Yijia Huang.

OOM semantics is "it can happen at any timing". Let's mark
String.replaec(String, String) as non MustGenerate since it only causes
out of memory error.

* Source/JavaScriptCore/dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):
* Source/JavaScriptCore/dfg/DFGMayExit.cpp:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to