diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-11-15 23:31:29 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-11-15 23:34:32 +0900 |
| commit | 0a022f7b8d3e6abc0320001430de9e7d63ba9212 (patch) | |
| tree | 047d082db4085fb8f4c26eb920906138ebd01613 /src/numeric.c | |
| parent | 418ad65db40200058a023b57682f4a3853fd63bc (diff) | |
| download | mruby-0a022f7b8d3e6abc0320001430de9e7d63ba9212.tar.gz mruby-0a022f7b8d3e6abc0320001430de9e7d63ba9212.zip | |
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`.
Diffstat (limited to 'src/numeric.c')
0 files changed, 0 insertions, 0 deletions
