summaryrefslogtreecommitdiff
path: root/eval_intern.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 05:41:15 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 05:41:15 (GMT)
commit7e9c5aca4c0643afe8356b970008e5650174892a (patch)
tree2931e9daac4d6be9b3109f92bafd054774d99804 /eval_intern.h
parentf1ad90a5e360752e3f7ab0a7641ca416be9e0b03 (diff)
* 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 36c1004..24de6b4 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()