[webkit-changes] [WebKit/WebKit] a50b78: [JSC] Add operationIteratorNextTryFast operation

Yusuke Suzuki noreply at github.com
Fri Mar 22 16:09:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a50b7868a41768ffb322fd91113a0210dd67e005
      https://github.com/WebKit/WebKit/commit/a50b7868a41768ffb322fd91113a0210dd67e005
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M Source/JavaScriptCore/jit/JITCall.cpp
    M Source/JavaScriptCore/jit/JITOperations.cpp
    M Source/JavaScriptCore/jit/JITOperations.h

  Log Message:
  -----------
  [JSC] Add operationIteratorNextTryFast operation
https://bugs.webkit.org/show_bug.cgi?id=271367
rdar://125151326

Reviewed by Keith Miller.

This function is very hot since it is invoked for each iteration run for fast arrays.
Let's make it extremely optimized: use JITOperations instead of slow path calls.

* Source/JavaScriptCore/jit/JITCall.cpp:
(JSC::JIT::emit_op_iterator_next):
* Source/JavaScriptCore/jit/JITOperations.cpp:
(JSC::JSC_DEFINE_JIT_OPERATION):
* Source/JavaScriptCore/jit/JITOperations.h:

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