Bug 1678924. Lower switch to if-else chain. r=mattwoodrow,jnicol
Bug 1678924. Lower switch to if-else chain. r=mattwoodrow,jnicol

It looks we hit the same gen6 compiler bug as we did in bug
1663344.

Differential Revision: https://phabricator.services.mozilla.com/D98027

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/b2d438ba2bdd2f2098ce1d4b3be1fd66c7eecf46

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender