Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c938e4dd1cdd81dee8ee44428dc6af49f09ab1f2
      
https://github.com/WebKit/WebKit/commit/c938e4dd1cdd81dee8ee44428dc6af49f09ab1f2
  Author: Sosuke Suzuki <aosuk...@gmail.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/JSGlobalObject.cpp
    M Source/JavaScriptCore/runtime/JSGlobalObject.h

  Log Message:
  -----------
  [JSC] Make some iterator structures initialization lazily
https://bugs.webkit.org/show_bug.cgi?id=282984

Reviewed by Yusuke Suzuki.

This patch makes following iterator structures initialization lazily:

- AsyncFromSyncIterator
- WrapForValidIterator
- RegExpStringIterator

* Source/JavaScriptCore/runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init):
(JSC::JSGlobalObject::visitChildrenImpl):
* Source/JavaScriptCore/runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::setIteratorPrototype const):
(JSC::JSGlobalObject::wrapForValidIteratorStructure const):
(JSC::JSGlobalObject::wrapForValidIteratorPrototype const): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to