RESOLVED FIXED 227095
Don't look at the (non-existent) child2 of DelById
https://bugs.webkit.org/show_bug.cgi?id=227095
Summary Don't look at the (non-existent) child2 of DelById
Robin Morisset
Reported 2021-06-16 14:33:54 PDT
When I rebased my patch for bug 226556, I introduced a bug for DelById, since it now shares code with DelByVal, and I access its second child early to avoid accessing it in the lambda (after the graph is freed). The solution is a trivial branch.
Attachments
Patch (1.78 KB, patch)
2021-06-16 14:36 PDT, Robin Morisset
mark.lam: review+
Patch for landing (1.78 KB, patch)
2021-06-16 14:57 PDT, Robin Morisset
no flags
Robin Morisset
Comment 1 2021-06-16 14:36:31 PDT
Mark Lam
Comment 2 2021-06-16 14:41:45 PDT
Comment on attachment 431605 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=431605&action=review r=me > Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:5921 > + UseKind child2UseKind; Should this be given some initial value to placate over-zealous compilers?
Robin Morisset
Comment 3 2021-06-16 14:57:59 PDT
Created attachment 431607 [details] Patch for landing I applied Mark's suggestion and gave a default of UntypedUse to child2UseKind in case GCC or MSVC are overzealous.
EWS
Comment 4 2021-06-16 15:26:38 PDT
Committed r278959 (238887@main): <https://commits.webkit.org/238887@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 431607 [details].
Radar WebKit Bug Importer
Comment 5 2021-06-16 15:27:20 PDT
Note You need to log in before you can comment on or make changes to this bug.