summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-15 12:29:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-15 12:34:40 +0900
commit2c12d111cb6efb110caa72b0e5314d3affbefb6e (patch)
treeae572e207c282fa87e228c389f7163b741dea5b0 /compile.c
parentde2afcbf0c4c058732997065fa8e6bcaebee9890 (diff)
Disassemble nop-inserted list
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compile.c b/compile.c
index d900db64a7..a32a7f1a0b 100644
--- a/compile.c
+++ b/compile.c
@@ -1394,6 +1394,8 @@ iseq_setup_insn(rb_iseq_t *iseq, LINK_ANCHOR *const anchor)
debugs("[compile step 3.4 (iseq_insert_nop_between_end_and_cont)]\n");
iseq_insert_nop_between_end_and_cont(iseq);
+ if (compile_debug > 5)
+ dump_disasm_list(FIRST_ELEMENT(anchor));
return COMPILE_OK;
}