Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5c7aadfa0a96836a55073eb6b5557ba40f616408
      
https://github.com/WebKit/WebKit/commit/5c7aadfa0a96836a55073eb6b5557ba40f616408
  Author: Keith Miller <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    A JSTests/stress/array-osr-exit-materialize-hole.js
    M Source/JavaScriptCore/ftl/FTLOperations.cpp
    M Source/JavaScriptCore/runtime/ArrayPrototype.cpp
    M Source/JavaScriptCore/runtime/Butterfly.h
    M Source/JavaScriptCore/runtime/ButterflyInlines.h
    M Source/JavaScriptCore/runtime/JSArray.cpp
    M Source/JavaScriptCore/runtime/JSArray.h

  Log Message:
  -----------
  operationMaterializeObjectInOSR needs to initialize Butterflies it creates.
https://bugs.webkit.org/show_bug.cgi?id=299761
rdar://161317599

Reviewed by Mark Lam and Yusuke Suzuki.

Butterfly::tryCreate does *not* initialize the indexed storage it creates.
Thus when OSR exiting with a sunk Array allocation any holes in the array were
not filled and left uninitialized.

Test: JSTests/stress/array-osr-exit-materialize-hole.js
Canonical link: https://commits.webkit.org/300709@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