Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6d826ae9d949396405d99a4bfd9c4207fcd27181
      
https://github.com/WebKit/WebKit/commit/6d826ae9d949396405d99a4bfd9c4207fcd27181
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-05-30 (Sat, 30 May 2026)

  Changed paths:
    M Source/JavaScriptCore/runtime/IteratorOperations.h
    M Source/JavaScriptCore/runtime/SetPrototype.cpp

  Log Message:
  -----------
  [JSC] Clean up Set prototype functions with forEachInSetStorage
https://bugs.webkit.org/show_bug.cgi?id=315875
rdar://178276845

Reviewed by Yijia Huang.

Add IterationStatus support to forEachInSetStorage and forEachInMapStorage,
and use forEachInSetStorage to clean up Set prototype functions.

* Source/JavaScriptCore/runtime/IteratorOperations.h:
(JSC::forEachInMapStorage):
(JSC::forEachInSetStorage):
*
Source/JavaScriptCore/runtime/SetPrototype.cpp:
(JSC::fastSetIntersection):
(JSC::JSC_DEFINE_HOST_FUNCTION):
(JSC::fastSetUnion):
(JSC::fastSetIsSubsetOf):
(JSC::fastSetDifference):
(JSC::fastSetSymmetricDifference):
(JSC::fastSetIsSupersetOf):
(JSC::fastSetIsDisjointFrom):

Canonical link: 
https://flagged.apple.com:443/proxy?t2=DS5y3P1KA3&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE0MjEzQG1haW4=&emid=247e9e10-44ad-433e-9e21-bb72696daf21&c=11



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

Reply via email to