Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0887ce7bb6fc0bd2939d03ba285ea3bc6b444cf3
      
https://github.com/WebKit/WebKit/commit/0887ce7bb6fc0bd2939d03ba285ea3bc6b444cf3
  Author: Sosuke Suzuki <[email protected]>
  Date:   2025-09-17 (Wed, 17 Sep 2025)

  Changed paths:
    M Source/JavaScriptCore/interpreter/CachedCall.h
    M Source/JavaScriptCore/interpreter/Interpreter.h
    M Source/JavaScriptCore/interpreter/InterpreterInlines.h

  Log Message:
  -----------
  [JSC] Add concepts to constrain callWithArguments template parameters
https://bugs.webkit.org/show_bug.cgi?id=298843

Reviewed by Yusuke Suzuki.

CachedCall::callWithArguments and Interpreter::tryCallWithArguments currently 
accept
arbitrary template parameter types, but in practice all arguments must be 
JSValue
or JSValue-convertible types.

This patch introduces a concept to explicitly constrain these template 
parameters.

* Source/JavaScriptCore/interpreter/CachedCall.h:
* Source/JavaScriptCore/interpreter/Interpreter.h:
* Source/JavaScriptCore/interpreter/InterpreterInlines.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to