[webkit-changes] [WebKit/WebKit] 5aa091: [JSC] Retry with SlowPutArrayStorage properly

Yusuke Suzuki noreply at github.com
Tue Jan 14 17:28:02 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5aa0914c99ba416111fd191cb0177d2ea1966eb4
      https://github.com/WebKit/WebKit/commit/5aa0914c99ba416111fd191cb0177d2ea1966eb4
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    A JSTests/stress/retry-with-slow-put-array-storage.js
    M Source/JavaScriptCore/runtime/JSObject.cpp

  Log Message:
  -----------
  [JSC] Retry with SlowPutArrayStorage properly
https://bugs.webkit.org/show_bug.cgi?id=285179
rdar://142297349

Reviewed by Yijia Huang.

When converting blank to SlowPutArrayStorage, we should properly retry
it via putByIndex.

* JSTests/stress/retry-with-slow-put-array-storage.js: Added.
(shouldThrow):
(C31):
* Source/JavaScriptCore/runtime/JSObject.cpp:
(JSC::JSObject::putByIndexBeyondVectorLength):
(JSC::JSObject::putDirectIndexSlowOrBeyondVectorLength):

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



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


More information about the webkit-changes mailing list