aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-18 12:17:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-18 12:17:59 +0000
commit5f1ecd3688e8f4c082efc2d5863fb358268f8a80 (patch)
tree9a28cf12153bf2d826ca9bba6daf0ad40b975bec /vm_core.h
parentb944ca779d6c88c51d626d7f60dd8d263d87b6b8 (diff)
downloadruby-5f1ecd3688e8f4c082efc2d5863fb358268f8a80.tar.gz
vm_insnhelper.c: raise ruby_error_sysstack_gc
* vm_insnhelper.c (rb_threadptr_stack_overflow): rb_fatal is not available during GC. raise the preallocated fatal error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 5fc7b2b3ba..861cae0018 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -455,6 +455,7 @@ enum ruby_special_exceptions {
ruby_error_reenter,
ruby_error_nomemory,
ruby_error_sysstack,
+ ruby_error_sysstack_gc,
ruby_error_stream_closed,
ruby_special_error_count
};