From 8bd05f10399d68db7162d6f9d5042ec67b9c82e5 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 7 Nov 2017 05:41:15 +0000 Subject: * eval_intern.h (rb_threadptr_tag_state): rename to rb_ec_tag_state. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval_intern.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eval_intern.h') diff --git a/eval_intern.h b/eval_intern.h index 36c100464d..24de6b46dc 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -176,7 +176,7 @@ LONG WINAPI rb_w32_stack_overflow_handler(struct _EXCEPTION_POINTERS *); /* clear th->ec->tag->state, and return the value */ static inline int -rb_threadptr_tag_state(const rb_execution_context_t *ec) +rb_ec_tag_state(const rb_execution_context_t *ec) { enum ruby_tag_type state = ec->tag->state; ec->tag->state = TAG_NONE; @@ -196,7 +196,7 @@ rb_ec_tag_jump(const rb_execution_context_t *ec, enum ruby_tag_type st) [ISO/IEC 9899:1999] 7.13.1.1 */ #define EC_EXEC_TAG() \ - (ruby_setjmp(_tag.buf) ? rb_threadptr_tag_state(VAR_FROM_MEMORY(_ec)) : (EC_REPUSH_TAG(), 0)) + (ruby_setjmp(_tag.buf) ? rb_ec_tag_state(VAR_FROM_MEMORY(_ec)) : (EC_REPUSH_TAG(), 0)) #define EXEC_TAG() \ EC_EXEC_TAG() -- cgit v1.2.3