aboutsummaryrefslogtreecommitdiffstats
path: root/eval_intern.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 05:41:15 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 05:41:15 +0000
commit8bd05f10399d68db7162d6f9d5042ec67b9c82e5 (patch)
tree2931e9daac4d6be9b3109f92bafd054774d99804 /eval_intern.h
parent8283dee63c2c0d6bb07db71f9660699959f7c837 (diff)
downloadruby-8bd05f10399d68db7162d6f9d5042ec67b9c82e5.tar.gz
* 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
Diffstat (limited to 'eval_intern.h')
-rw-r--r--eval_intern.h4
1 files changed, 2 insertions, 2 deletions
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()