summaryrefslogtreecommitdiffhomepage
path: root/src/array.c
diff options
context:
space:
mode:
authordearblue <[email protected]>2020-07-26 11:45:24 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:33 +0900
commitbfb7b491cc13776cc4b44671d1605f8fb1da7514 (patch)
tree0abda84ba7364e85b6310214dac0798f9637fa07 /src/array.c
parentc1f112c49a597da8478516261f0812bc073f6cd8 (diff)
downloadmruby-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 'src/array.c')
0 files changed, 0 insertions, 0 deletions