diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-29 13:49:45 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-29 13:49:45 +0000 |
commit | 248d3d54a3ea81aaf319b1926a270e7f889aefbe (patch) | |
tree | f0bfcf394abf3412885b0a42fccf8e9cd0cea2af /vm_eval.c | |
parent | cb81d0ecb1f3948bde2e8ac079c7cf78e92db7a7 (diff) |
rb_ec_stack_check()
* gc.c (rb_ec_stack_check): renamed from rb_threadptr_stack_check()
and it accepts `ec`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ stack_check(rb_execution_context_t *ec) rb_thread_t *th = rb_ec_thread_ptr(ec); if (!rb_thread_raised_p(th, RAISED_STACKOVERFLOW) && - rb_threadptr_stack_check(th)) { + rb_ec_stack_check(ec)) { rb_thread_raised_set(th, RAISED_STACKOVERFLOW); rb_ec_stack_overflow(th->ec, FALSE); } |