And we could do more to stay in Int52. And we could perhaps detect if we always successfully can convert to int32, and speculate as such
Created attachment 399327 [details] WIP
Created attachment 399671 [details] WIP ~2.5x faster on microbenchmarks/get-and-put-by-val-double-index-dont-fall-off-a-cliff.js Might hold off a bit until final tuning and landing of this.
Even simpler, and a 3.75x speedup
Created attachment 399678 [details] patch
Created attachment 399679 [details] patch rebased
Created attachment 399680 [details] patch
Comment on attachment 399680 [details] patch r=me
Committed r261842: <https://trac.webkit.org/changeset/261842> All reviewed patches have been landed. Closing bug and clearing flags on attachment 399680 [details].
<rdar://problem/63372806>