diff options
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -568,7 +568,9 @@ find_prev_line_no(rb_iseq_t *iseqdat, unsigned long pos) } } } - rb_bug("find_prev_line_no: can't find - %lu", pos); + + /* rb_bug("find_prev_line_no: can't find - %lu", pos); */ + return 0; } @@ -665,6 +667,10 @@ insn_operand_intern(rb_iseq_t *iseq, ret = rb_str_new2("<cdhash>"); break; + case TS_FUNCPTR: + ret = rb_str_new2("<funcptr>"); + break; + default: rb_bug("ruby_iseq_disasm: unknown operand type: %c", type); } |