diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-14 07:46:11 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-14 07:46:11 +0000 |
commit | e33aaf880052ad75c2708a69af45fa1c03070243 (patch) | |
tree | a18bdaf152fc1b05bec55d70e07a8eaca827ae01 /missing/isnan.c | |
parent | c2c304c20ed36adfa958b63b6fcfc0ee12ad5216 (diff) | |
download | ruby-e33aaf880052ad75c2708a69af45fa1c03070243.tar.gz |
disable rewind hooks.
* vm.c (hook_before_rewind): skip rewind hooks if err is SystemStackError
because rewind hooks can cause stack overflow again and again.
* thread.c (ruby_thread_stack_overflow): do not disable all hooks.
Additionally, clearing ruby_vm_event_flags is not suitable way
to disable hooks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/isnan.c')
0 files changed, 0 insertions, 0 deletions