diff options
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4756,7 +4756,7 @@ rb_check_deadlock(rb_vm_t *vm) static void update_coverage(rb_event_flag_t event, VALUE proc, VALUE self, ID id, VALUE klass) { - VALUE coverage = GET_THREAD()->cfp->iseq->variable_body->coverage; + VALUE coverage = rb_iseq_coverage(GET_THREAD()->cfp->iseq); if (coverage && RBASIC(coverage)->klass == 0) { long line = rb_sourceline() - 1; long count; |