The saved `pc` from `ERR_PC_SET` was wrong; fix #4138
The saving `pc` position should be beginning of the instruction. But after `mruby 2.0` byte code modification, the `pc` variable points the beginning of the next instruction. We save the previous position in a local variable `pc0`.
Showing
Please register or sign in to comment