RESOLVED FIXED 232132
Remove unneeded Heap::m_vm.
https://bugs.webkit.org/show_bug.cgi?id=232132
Summary Remove unneeded Heap::m_vm.
Mark Lam
Reported 2021-10-21 22:01:33 PDT
Heap::vm() already computes the associated VM& using offset math. This entails subtracting a constant to Heap's this pointer, which is faster than loading from a field.
Attachments
proposed patch. (15.47 KB, patch)
2021-10-21 22:07 PDT, Mark Lam
no flags
[fast-cq] proposed patch. (15.47 KB, patch)
2021-10-21 22:09 PDT, Mark Lam
no flags
Mark Lam
Comment 1 2021-10-21 22:07:30 PDT
Created attachment 442119 [details] proposed patch.
Mark Lam
Comment 2 2021-10-21 22:09:42 PDT
Created attachment 442121 [details] [fast-cq] proposed patch.
Yusuke Suzuki
Comment 3 2021-10-21 22:13:08 PDT
Comment on attachment 442121 [details] [fast-cq] proposed patch. r=me
Mark Lam
Comment 4 2021-10-22 00:18:11 PDT
Comment on attachment 442121 [details] [fast-cq] proposed patch. Thanks for the review. Landing now.
EWS
Comment 5 2021-10-22 00:20:01 PDT
Committed r284668 (243388@main): <https://commits.webkit.org/243388@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442121 [details].
Radar WebKit Bug Importer
Comment 6 2021-10-22 00:21:16 PDT
Note You need to log in before you can comment on or make changes to this bug.