It's cheaper to do a check using incoming args (which are already loaded in registers) than to do a check which requires memory loads.
Created attachment 442195 [details] proposed patch.
Comment on attachment 442195 [details] proposed patch. r=me
Comment on attachment 442195 [details] proposed patch. Thanks for the review.
Committed r284715 (243430@main): <https://commits.webkit.org/243430@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442195 [details].
<rdar://problem/84564524>