We need no write barrier here; ref #4143

This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-10-29 12:01:27 +09:00
parent 3dc3643e34
commit fa33a4d75a
+1 -4
View File
@@ -1984,10 +1984,7 @@ RETRY_TRY_BLOCK:
while (c->eidx > ci->epos) {
ecall_adjust();
}
if (c->fib) {
mrb_write_barrier(mrb, (struct RBasic*)c->fib);
}
mrb->c->status = MRB_FIBER_TERMINATED;
c->status = MRB_FIBER_TERMINATED;
mrb->c = c->prev;
c->prev = NULL;
goto L_RAISE;