summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iseq.c b/iseq.c
index de304906fe..297299e00a 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1973,6 +1973,9 @@ iseq_data_to_ary(rb_iseq_t *iseq)
rb_ary_push(ary, val);
}
break;
+ case TS_FUNCPTR:
+ rb_ary_push(ary, Qnil);
+ break;
default:
rb_bug("unknown operand: %c", insn_op_type(insn, j));
}