diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-21 06:46:46 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-21 06:46:46 +0000 |
commit | 4878b329daa88e0626d665ea5eac6e175a6435e3 (patch) | |
tree | d5d0aa84db9847e356703464a1d2243d2aac1e4b /vm_insnhelper.c | |
parent | 1d02f94c2ecf47e992b49357c13e04b53d39c5e3 (diff) | |
download | ruby-4878b329daa88e0626d665ea5eac6e175a6435e3.tar.gz |
vm_core.h: ruby_error_stackfatal
* vm_core.h (ruby_special_exceptions): rename sysstack_gc as
stackfatal.
* eval.c (Init_eval): modified the message for stackfatal error as
"critical region".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 69925c07ea..9e85f38be9 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -58,7 +58,7 @@ rb_threadptr_stack_overflow(rb_thread_t *th) { if (rb_during_gc()) { th->ec.raised_flag = RAISED_STACKOVERFLOW; - th->ec.errinfo = th->vm->special_exceptions[ruby_error_sysstack_gc]; + th->ec.errinfo = th->vm->special_exceptions[ruby_error_stackfatal]; TH_JUMP_TAG(th, TAG_RAISE); } #ifdef USE_SIGALTSTACK |