[webkit-changes] [WebKit/WebKit] 6febcd: [JSC] Move iterator / asyncIterator getters to C++...

Yusuke Suzuki noreply at github.com
Thu Aug 22 00:19:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6febcde4e258e8dd77930b0a793d16b6836ec163
      https://github.com/WebKit/WebKit/commit/6febcde4e258e8dd77930b0a793d16b6836ec163
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M Source/JavaScriptCore/CMakeLists.txt
    M Source/JavaScriptCore/DerivedSources-input.xcfilelist
    M Source/JavaScriptCore/DerivedSources.make
    M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
    R Source/JavaScriptCore/builtins/AsyncIteratorPrototype.js
    R Source/JavaScriptCore/builtins/IteratorPrototype.js
    M Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
    M Source/JavaScriptCore/runtime/AsyncIteratorPrototype.cpp
    M Source/JavaScriptCore/runtime/Intrinsic.h
    M Source/JavaScriptCore/runtime/IteratorPrototype.cpp

  Log Message:
  -----------
  [JSC] Move iterator / asyncIterator getters to C++ with inlining support
https://bugs.webkit.org/show_bug.cgi?id=278510
rdar://134467146

Reviewed by Alexey Shvayka.

Move iterator / asyncIterator getters to C++ as the same to Symbol.species getter.

* Source/JavaScriptCore/CMakeLists.txt:
* Source/JavaScriptCore/DerivedSources-input.xcfilelist:
* Source/JavaScriptCore/DerivedSources.make:
* Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
* Source/JavaScriptCore/builtins/AsyncIteratorPrototype.js: Removed.
* Source/JavaScriptCore/builtins/IteratorPrototype.js: Removed.
* Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleIntrinsicCall):
* Source/JavaScriptCore/runtime/AsyncIteratorPrototype.cpp:
(JSC::AsyncIteratorPrototype::finishCreation):
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/Intrinsic.h:
* Source/JavaScriptCore/runtime/IteratorPrototype.cpp:
(JSC::IteratorPrototype::finishCreation):
(JSC::JSC_DEFINE_HOST_FUNCTION):

Canonical link: https://commits.webkit.org/282610@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