vm.c: add assertion for type of register values.
We used to check them by `mrb_ensure_xxx_type()` functions, but type errors there should not occur if there's no bug in code generations. So we use assertion rather than dynamic type checks.
Showing
We used to check them by `mrb_ensure_xxx_type()` functions, but type errors there should not occur if there's no bug in code generations. So we use assertion rather than dynamic type checks.
mentioned in commit ff3a5ebe
·mentioned in commit ff3a5ebe