wasm: Improve switch implementation

- Implement switching over booleans and pointers.
- Fix sparse-detection where the lowest value was never truly set
as it started at a non-zero number and the case was > 50.
- Fix indexing the jump table by ensuring it starts indexing from 0.
557f396f61Luuk de Gram committed on 3/9/2022, 8:53:10 PM· committed by Andrew Kelleyparentb936fe0
1 file changedLine totals unavailable