It's possible to use `src` for switch, and use `reg.idx[0]` and `[1]` for each case, or drop them in `immconst_uint`. That would have the advantage of using the existing parameter allocation/freeing mechanism, but it would be a bit ugly and inefficient.