Bug 300364
| Summary: | Use uncheckedDowncast<>() in generated toJSNewlyCreated() functions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | Bindings | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
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
Pull request: https://github.com/WebKit/WebKit/pull/51983
EWS
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
<rdar://problem/162173250>