summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-20 19:32:10 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-20 23:52:19 +0900
commit081cc4eb283cb01ddffb364397e5175dbfacab66 (patch)
treebe6219891c102c981c0762744eb53488fd7d2205 /iseq.c
parentd915e7ee0095727e63104c53b1adc7a70bae6522 (diff)
Dump FrozenCore specially
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 2f10cd6223..85ced1212c 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1861,6 +1861,7 @@ local_var_name(const rb_iseq_t *diseq, VALUE level, VALUE op)
}
int rb_insn_unified_local_var_level(VALUE);
+VALUE rb_dump_literal(VALUE lit);
VALUE
rb_insn_operand_intern(const rb_iseq_t *iseq,
@@ -1936,7 +1937,7 @@ rb_insn_operand_intern(const rb_iseq_t *iseq,
break;
}
}
- ret = rb_inspect(op);
+ ret = rb_dump_literal(op);
if (CLASS_OF(op) == rb_cISeq) {
if (child) {
rb_ary_push(child, op);