mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00

This is both simpler and faster than the old scheme where the pc was stored in a register but could be clobbered by R2. On x64 this wins about 9-10%. On 32-bit x86 we don't have enough registers so there we load the pc from the frame in more cases. That's about a 2-3% regression and is a reasonable trade-off. Differential Revision: https://phabricator.services.mozilla.com/D36583 --HG-- extra : moz-landing-system : lando