WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
300364
Use uncheckedDowncast<>() in generated toJSNewlyCreated() functions
https://bugs.webkit.org/show_bug.cgi?id=300364
Summary
Use uncheckedDowncast<>() in generated toJSNewlyCreated() functions
Chris Dumez
Reported
2025-10-07 19:48:29 PDT
Use uncheckedDowncast<>() in generated toJSNewlyCreated() functions instead of downcast<>(), since the code does a `is<>()` check right before and we want to guarantee the compiler doesn't generate the type check twice.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2025-10-07 19:49:41 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/51983
EWS
Comment 2
2025-10-07 22:19:29 PDT
Committed
301186@main
(287f8c8f6baf): <
https://commits.webkit.org/301186@main
> Reviewed commits have been landed. Closing PR #51983 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-10-07 22:20:14 PDT
<
rdar://problem/162173250
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug