mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* eval_intern.h: rename macros rb_thread_raised_* to
rb_ec_raised_*. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ee189904f0
commit
48ce4cb414
8 changed files with 27 additions and 29 deletions
|
@ -255,12 +255,10 @@ rb_current_receiver(void)
|
|||
static inline void
|
||||
stack_check(rb_execution_context_t *ec)
|
||||
{
|
||||
rb_thread_t *th = rb_ec_thread_ptr(ec);
|
||||
|
||||
if (!rb_thread_raised_p(th, RAISED_STACKOVERFLOW) &&
|
||||
if (!rb_ec_raised_p(ec, RAISED_STACKOVERFLOW) &&
|
||||
rb_ec_stack_check(ec)) {
|
||||
rb_thread_raised_set(th, RAISED_STACKOVERFLOW);
|
||||
rb_ec_stack_overflow(th->ec, FALSE);
|
||||
rb_ec_raised_set(ec, RAISED_STACKOVERFLOW);
|
||||
rb_ec_stack_overflow(ec, FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue