Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d4a934d34478f4b03d3bb4c4ce6f9595fd76a07d
      
https://github.com/WebKit/WebKit/commit/d4a934d34478f4b03d3bb4c4ce6f9595fd76a07d
  Author: Sosuke Suzuki <[email protected]>
  Date:   2025-11-13 (Thu, 13 Nov 2025)

  Changed paths:
    M Source/JavaScriptCore/CMakeLists.txt
    M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
    M Source/JavaScriptCore/interpreter/CachedCall.h
    A Source/JavaScriptCore/interpreter/CachedCallInlines.h
    M Source/JavaScriptCore/runtime/ArrayPrototype.cpp
    M Source/JavaScriptCore/runtime/IteratorOperations.h
    M Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h
    M Source/JavaScriptCore/runtime/JSIteratorPrototype.cpp
    M Source/JavaScriptCore/runtime/MapPrototype.cpp
    M Source/JavaScriptCore/runtime/RegExpPrototype.cpp
    M Source/JavaScriptCore/runtime/SetPrototype.cpp
    M Source/JavaScriptCore/runtime/StringPrototypeInlines.h
    M Source/JavaScriptCore/runtime/WeakMapPrototype.cpp
    M Source/JavaScriptCore/tools/IntegrityInlines.h

  Log Message:
  -----------
  [JSC] Assert arguments of `CachedCall::callWithArguments` using 
`Integrity::auditCell`
https://bugs.webkit.org/show_bug.cgi?id=301833

Reviewed by Yusuke Suzuki.

This patch changes to assert arguments of `CachedCall:callWithArguments` using 
`Integrity::auditCell`.

Also, following the best practice that `**Inlines.h` should not be included 
from any header file other
than `**Inlines.h`[1], this patch creates a new `CachedCallInlines.h`.

[1]: 
https://github.com/WebKit/WebKit/wiki/Analyzing-Build-Performance#avoid-including-inlinesh-headers-in-other-headers

* Source/JavaScriptCore/CMakeLists.txt:
* Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
* Source/JavaScriptCore/interpreter/CachedCall.h:
(JSC::CachedCall::callWithArguments): Deleted.
* Source/JavaScriptCore/interpreter/CachedCallInlines.h: Added.
(JSC::CachedCall::callWithArguments):
* Source/JavaScriptCore/runtime/ArrayPrototype.cpp:
* Source/JavaScriptCore/runtime/IteratorOperations.h:
* Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h:
* Source/JavaScriptCore/runtime/JSIteratorPrototype.cpp:
* Source/JavaScriptCore/runtime/MapPrototype.cpp:
* Source/JavaScriptCore/runtime/RegExpPrototype.cpp:
* Source/JavaScriptCore/runtime/SetPrototype.cpp:
* Source/JavaScriptCore/runtime/StringPrototypeInlines.h:
* Source/JavaScriptCore/runtime/WeakMapPrototype.cpp:
* Source/JavaScriptCore/tools/IntegrityInlines.h:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to