Bug 310011
| Summary: | HashTable's deallocateTable() doesn't need to call the destructor for trivially destructible types | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | Web Template Framework | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
HashTable's deallocateTable() doesn't need to call the destructor for trivially destructible types. Use an `if constexpr` to make sure this code gets compiled out.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/60686
EWS
Committed 309386@main (93262de2b325): <https://commits.webkit.org/309386@main>
Reviewed commits have been landed. Closing PR #60686 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/172726667>