summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 94e8eeff22..091faef58f 100644
--- a/iseq.c
+++ b/iseq.c
@@ -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);
}