summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index b0e565c..2370545 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -1029,16 +1029,16 @@ vm_throw_continue(rb_thread_t *th, VALUE err)
/* continue throw */
if (FIXNUM_P(err)) {
- th->tag_state = FIX2INT(err);
+ th->tag->state = FIX2INT(err);
}
else if (SYMBOL_P(err)) {
- th->tag_state = TAG_THROW;
+ th->tag->state = TAG_THROW;
}
else if (THROW_DATA_P(err)) {
- th->tag_state = THROW_DATA_STATE((struct vm_throw_data *)err);
+ th->tag->state = THROW_DATA_STATE((struct vm_throw_data *)err);
}
else {
- th->tag_state = TAG_RAISE;
+ th->tag->state = TAG_RAISE;
}
return err;
}
@@ -1177,7 +1177,7 @@ vm_throw_start(rb_thread_t *const th, rb_control_frame_t *const reg_cfp, enum ru
rb_bug("isns(throw): unsupport throw type");
}
- th->tag_state = state;
+ th->tag->state = state;
return (VALUE)THROW_DATA_NEW(throwobj, escape_cfp, state);
}