Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7f525e50e2986e1871b7765a9a021c416260bc67
      
https://github.com/WebKit/WebKit/commit/7f525e50e2986e1871b7765a9a021c416260bc67
  Author: Sosuke Suzuki <[email protected]>
  Date:   2025-12-29 (Mon, 29 Dec 2025)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGGraph.cpp
    M Source/JavaScriptCore/runtime/JSArray.cpp
    M Source/JavaScriptCore/runtime/JSArrayBufferView.cpp
    M Source/JavaScriptCore/runtime/JSMapInlines.h
    M Source/JavaScriptCore/runtime/JSSetInlines.h
    M Source/JavaScriptCore/runtime/StructureInlines.h

  Log Message:
  -----------
  [JSC] Use `hasSpecialProperties` for checking iterable
https://bugs.webkit.org/show_bug.cgi?id=304718

Reviewed by Yusuke Suzuki.

This patch changes to use `hasSpecialProperties` for checking iterables.

* Source/JavaScriptCore/dfg/DFGGraph.cpp:
(JSC::DFG::Graph::canDoFastSpread):
* Source/JavaScriptCore/runtime/JSArray.cpp:
(JSC::JSArray::isIteratorProtocolFastAndNonObservable):
* Source/JavaScriptCore/runtime/JSArrayBufferView.cpp:
(JSC::JSArrayBufferView::isIteratorProtocolFastAndNonObservable):
* Source/JavaScriptCore/runtime/JSMapInlines.h:
(JSC::JSMap::isIteratorProtocolFastAndNonObservable):
* Source/JavaScriptCore/runtime/JSSetInlines.h:
(JSC::JSSet::isIteratorProtocolFastAndNonObservable):
* Source/JavaScriptCore/runtime/StructureInlines.h:
(JSC::Structure::add):
(JSC::Structure::addOrReplacePropertyWithoutTransition):

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



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

Reply via email to