Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1b1b5e74e7c97a75dc18caf9a78248b582210dff
      
https://github.com/WebKit/WebKit/commit/1b1b5e74e7c97a75dc18caf9a78248b582210dff
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [JSC] IndexedProxyObjectLoad should be usable for GetByVal with Int32
https://bugs.webkit.org/show_bug.cgi?id=276139
rdar://130989573

Reviewed by Yijia Huang.

IndexedProxyObjectLoad should work with Int32 propertyName case too. Thus we 
use this in tryCacheArrayGetByVal too when the base object is ProxyObjectType.
We also categorize it to stateless since this is not relying on some state in 
AccessCase.

* Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp:
(JSC::isStateless):
* Source/JavaScriptCore/bytecode/Repatch.cpp:
(JSC::tryCacheArrayGetByVal):

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