aboutsummaryrefslogtreecommitdiffstats
path: root/eval_error.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 05:22:09 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 05:22:09 +0000
commit48ce4cb414be48be1a73d2530203469b3b98281c (patch)
treec48f45a0bb33edc2b5c507f2727b840c929f3280 /eval_error.c
parentee189904f0e3e0263adcbcc844947f6ccddfb7ad (diff)
downloadruby-48ce4cb414be48be1a73d2530203469b3b98281c.tar.gz
* 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
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval_error.c b/eval_error.c
index cd4e703e66..fa9fa8cdab 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -172,7 +172,7 @@ rb_ec_error_print(rb_execution_context_t * volatile ec, volatile VALUE errinfo)
if (NIL_P(errinfo))
return;
- rb_thread_raised_clear(rb_ec_thread_ptr(ec));
+ rb_ec_raised_clear(ec);
EC_PUSH_TAG(ec);
if (EC_EXEC_TAG() == TAG_NONE) {
@@ -203,7 +203,7 @@ rb_ec_error_print(rb_execution_context_t * volatile ec, volatile VALUE errinfo)
error:
EC_POP_TAG();
ec->errinfo = errinfo;
- rb_thread_raised_set(rb_ec_thread_ptr(ec), raised_flag);
+ rb_ec_raised_set(ec, raised_flag);
}
#define undef_mesg_for(v, k) rb_fstring_cstr("undefined"v" method `%1$s' for "k" `%2$s'")