Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 72e0ec4b2165640d591dfebd53e1fc9970fb062c
      
https://github.com/WebKit/WebKit/commit/72e0ec4b2165640d591dfebd53e1fc9970fb062c
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-06-16 (Tue, 16 Jun 2026)

  Changed paths:
    M Source/JavaScriptCore/bytecode/ArrayProfile.h
    M Source/JavaScriptCore/jit/JITOperations.cpp
    M Source/JavaScriptCore/runtime/JSObjectInlines.h

  Log Message:
  -----------
  [JSC] Set MayStoreHole appropriately
https://bugs.webkit.org/show_bug.cgi?id=317238
rdar://179858392

Reviewed by Yijia Huang.

We found that MayStoreHole is not appropriately set from C++ code, which
leads too aggressive (wrong) optimization in DFG / FTL, causing the OSR
exits. This patch fixes them.

* Source/JavaScriptCore/bytecode/ArrayProfile.h:
(JSC::ArrayProfile::setMayStoreHole):
* Source/JavaScriptCore/jit/JITOperations.cpp:
(JSC::directPutByVal):
* Source/JavaScriptCore/runtime/JSObjectInlines.h:
(JSC::JSObject::trySetIndexQuickly):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to