[webkit-changes] [WebKit/WebKit] 8fd79a: [JSC] Support fast OOB access to TypedArray in IC

Yusuke Suzuki noreply at github.com
Tue Aug 20 13:01:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8fd79ab352acef31eb32716056afc3a7882a026e
      https://github.com/WebKit/WebKit/commit/8fd79ab352acef31eb32716056afc3a7882a026e
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-08-20 (Tue, 20 Aug 2024)

  Changed paths:
    M Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp

  Log Message:
  -----------
  [JSC] Support fast OOB access to TypedArray in IC
https://bugs.webkit.org/show_bug.cgi?id=278399
rdar://134356837

Reviewed by David Degazio.

Right now, we are always going to the slow path when OOB load to TypedArray happens, but it is not necessary
since they become undefined according to the spec (it does not traverse prototypes). This patch adds these handling
so that IC can cover these cases.

* Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp:
(JSC::InlineCacheCompiler::generateWithGuard):

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