RESOLVED FIXED181027
Inlining of a function that ends in op_unreachable crashes
https://bugs.webkit.org/show_bug.cgi?id=181027
Summary Inlining of a function that ends in op_unreachable crashes
Robin Morisset
Reported 2017-12-20 05:54:07 PST
Created attachment 329912 [details] testcase This is due to a recent change I made, under the assumption that all functions end in op_ret. The fix is very simple: allocate a new continuation block after the inlining if the inlined function did not give one through parsing an op_ret.
Attachments
testcase (163 bytes, application/x-javascript)
2017-12-20 05:54 PST, Robin Morisset
no flags
Patch (5.10 KB, patch)
2017-12-20 05:59 PST, Robin Morisset
no flags
Robin Morisset
Comment 1 2017-12-20 05:59:56 PST
Robin Morisset
Comment 2 2017-12-20 06:48:04 PST
WebKit Commit Bot
Comment 3 2018-01-03 09:35:40 PST
Comment on attachment 329914 [details] Patch Clearing flags on attachment: 329914 Committed r226362: <https://trac.webkit.org/changeset/226362>
WebKit Commit Bot
Comment 4 2018-01-03 09:35:41 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2018-01-03 09:36:22 PST
Note You need to log in before you can comment on or make changes to this bug.