diff options
| author | dearblue <[email protected]> | 2020-07-26 11:45:24 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:33 +0900 |
| commit | bfb7b491cc13776cc4b44671d1605f8fb1da7514 (patch) | |
| tree | 0abda84ba7364e85b6310214dac0798f9637fa07 /include | |
| parent | c1f112c49a597da8478516261f0812bc073f6cd8 (diff) | |
| download | mruby-bfb7b491cc13776cc4b44671d1605f8fb1da7514.tar.gz mruby-bfb7b491cc13776cc4b44671d1605f8fb1da7514.zip | |
Restore the variable `pc` after `longjmp()`
Changes made after `setjmp()` are destroyed and need reassignment.
This problem is now caused by the addition of the `OP_JUW` instruction.
When actually building on FreeBSD 12.1 with `clang10 -fsanitize=address`, mrbtest "NameError#name [15.2.31.2.1]" is failed.
However, qualifying `pc` with `volatile` slows down significantly and increases the object code.
Suppress them by qualifying only the variables that restore `pc`.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
