From c7bae7eafb1424f2b2c6b3c591168e0d9baa4cde Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 7 Nov 2017 05:12:39 +0000 Subject: rename to rb_ec_set_raised(). * thread.c (rb_threadptr_set_raised): rename to rb_ec_set_raised and accepts `ec` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval_error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval_error.c') diff --git a/eval_error.c b/eval_error.c index ed2e43facc..cd4e703e66 100644 --- a/eval_error.c +++ b/eval_error.c @@ -271,7 +271,7 @@ error_handle(int ex) int status = EXIT_FAILURE; rb_execution_context_t *ec = GET_EC(); - if (rb_threadptr_set_raised(rb_ec_thread_ptr(ec))) + if (rb_ec_set_raised(ec)) return EXIT_FAILURE; switch (ex & TAG_MASK) { case 0: -- cgit v1.2.3