Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2a042fede0e705bae4b8ce039b18442696ebb5ce
https://github.com/WebKit/WebKit/commit/2a042fede0e705bae4b8ce039b18442696ebb5ce
Author: Keith Miller <[email protected]>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M Source/JavaScriptCore/runtime/JSCell.cpp
Log Message:
-----------
[JSC] JSCell::toX should use jsDynamicCast/jsSecureCast
https://bugs.webkit.org/show_bug.cgi?id=270797
rdar://124119022
Reviewed by Mark Lam.
General code quality improvement. We also might as well add a release assert
that the final case is correct as it doesn't seem to be a perf regression.
* Source/JavaScriptCore/runtime/JSCell.cpp:
(JSC::JSCell::toPrimitive const):
(JSC::JSCell::toNumber const):
(JSC::JSCell::toObjectSlow const):
Canonical link: https://commits.webkit.org/275948@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