Summary: | CachedBytecode move constructor should not call `freeDataIfOwned` | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tadeu Zagallo <tzagallo> | ||||
Component: | JavaScriptCore | Assignee: | Tadeu Zagallo <tzagallo> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, darin, ews-watchlist, keith_miller, mark.lam, msaboff, saam, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Tadeu Zagallo
2019-01-30 13:51:43 PST
Created attachment 360615 [details]
Patch
Comment on attachment 360615 [details]
Patch
r=me
Comment on attachment 360615 [details] Patch Clearing flags on attachment: 360615 Committed r240732: <https://trac.webkit.org/changeset/240732> All reviewed patches have been landed. Closing bug. Just a meta-note about the mistake that led to this bug. Generally speaking in any non-trivial cases, we can implement operator= by calling the constructor in an appropriate way, and that's often a good pattern, but it's typically not good in such cases to attempt to implement a constructor by calling operator=. |