RESOLVED FIXED 210254
Implement a more efficient tagCFunction() tool.
https://bugs.webkit.org/show_bug.cgi?id=210254
Summary Implement a more efficient tagCFunction() tool.
Mark Lam
Reported 2020-04-09 01:00:39 PDT
The current tagCFunctionPtr() tool does a lot of extra work that is not needed if we are tagging a function and not a potentially arbitrary pointer. For example, 1. it doesn't need to do a null check. 2. it doesn't need to authenticate the function address. The RELEASE_ASSERT used to enforce that authentication can also go away.
Attachments
proposed patch. (63.43 KB, patch)
2020-04-09 01:31 PDT, Mark Lam
no flags
proposed patch. (63.43 KB, patch)
2020-04-09 01:38 PDT, Mark Lam
keith_miller: review+
Mark Lam
Comment 1 2020-04-09 01:31:57 PDT
Created attachment 395921 [details] proposed patch.
Mark Lam
Comment 2 2020-04-09 01:38:04 PDT
Created attachment 395922 [details] proposed patch.
Keith Miller
Comment 3 2020-04-09 02:18:41 PDT
Comment on attachment 395922 [details] proposed patch. r=me
Mark Lam
Comment 4 2020-04-09 02:28:16 PDT
Thanks for the review. Landed in r259786: <http://trac.webkit.org/r259786>.
Radar WebKit Bug Importer
Comment 5 2020-04-09 02:29:17 PDT
Note You need to log in before you can comment on or make changes to this bug.