diff options
-rw-r--r-- | gc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9208,9 +9208,10 @@ static void rb_raw_iseq_info(char *buff, const int buff_size, const rb_iseq_t *iseq) { if (iseq->body->location.label) { + VALUE path = rb_iseq_path(iseq); snprintf(buff, buff_size, "%s %s@%s:%d", buff, RSTRING_PTR(iseq->body->location.label), - RSTRING_PTR(rb_iseq_path(iseq)), + RSTRING_PTR(path), FIX2INT(iseq->body->location.first_lineno)); } } |