wasm: Rewrite switch_br to use `br_table` instead

This is an initial version, todo:
- Also make this work for u64 values, as the table must be indexed by u32.
- Add support for signed integers.
- Add support for enums.
ad38fc1147Luuk de Gram committed on 7/24/2021, 5:49:24 PMparent7b8cb88
1 file changedLine totals unavailable