aboutsummaryrefslogtreecommitdiffstats
path: root/cont.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-23 09:43:52 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-23 09:43:52 +0000
commit5659d418d91d9757e0c2dc4b95b1f850575cfb5e (patch)
treebf6fc088df929e6f1fadf9b6ee6eb16a81ae2632 /cont.c
parent8a203c8d44d79df4a394012bf71afd6b3ef40577 (diff)
downloadruby-5659d418d91d9757e0c2dc4b95b1f850575cfb5e.tar.gz
move "state" to rb_vm_tag.
* vm_core.h (rb_thread_t::tag_state): move to "rb_vm_tag::state". Lifetime of "state" should be same as current tag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cont.c b/cont.c
index 20e87c397b..e5cffce9e0 100644
--- a/cont.c
+++ b/cont.c
@@ -413,7 +413,6 @@ 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->tag_state = th->tag_state;
sth->status = th->status;
sth->tag = th->tag;
sth->protect_tag = th->protect_tag;
@@ -561,7 +560,6 @@ 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->tag_state = sth->tag_state;
th->status = sth->status;
th->tag = sth->tag;
th->protect_tag = sth->protect_tag;