summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-23 08:48:41 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-23 08:48:41 +0000
commita64801c1e95e127ad47de1d6d8fdb3f3390a9687 (patch)
tree4cfcfa161f4e7d11fb293dce52ff59c985934237 /cont.c
parenta90c696b8bb67eecc5b415d58f55705c0bf3f8f8 (diff)
rename th->state to th->tag_state.
* vm_core.h (rb_thread_t): rename rb_thread_t::state to tag_state to make it clear. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cont.c b/cont.c
index 211428620a..20e87c397b 100644
--- a/cont.c
+++ b/cont.c
@@ -413,7 +413,7 @@ cont_save_thread(rb_context_t *cont, rb_thread_t *th)
sth->local_storage = th->local_storage;
sth->safe_level = th->safe_level;
sth->raised_flag = th->raised_flag;
- sth->state = th->state;
+ sth->tag_state = th->tag_state;
sth->status = th->status;
sth->tag = th->tag;
sth->protect_tag = th->protect_tag;
@@ -561,7 +561,7 @@ cont_restore_thread(rb_context_t *cont)
th->ec.cfp = sth->ec.cfp;
th->safe_level = sth->safe_level;
th->raised_flag = sth->raised_flag;
- th->state = sth->state;
+ th->tag_state = sth->tag_state;
th->status = sth->status;
th->tag = sth->tag;
th->protect_tag = sth->protect_tag;