mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00

The code for tracking register allocation in wasm casts was getting very unwieldy. This patch replaces several switches with a single function that checks which registers are necessary, and simplifies the allocation logic in both baseline and ion to use this result. Differential Revision: https://phabricator.services.mozilla.com/D201734