ruby-changes:60779
From: Nobuyoshi <ko1@a...>
Date: Wed, 15 Apr 2020 12:40:43 +0900 (JST)
Subject: [ruby-changes:60779] 2c12d111cb (master): Disassemble nop-inserted list
https://git.ruby-lang.org/ruby.git/commit/?id=2c12d111cb From 2c12d111cb6efb110caa72b0e5314d3affbefb6e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 15 Apr 2020 12:29:16 +0900 Subject: Disassemble nop-inserted list diff --git a/compile.c b/compile.c index d900db6..a32a7f1 100644 --- a/compile.c +++ b/compile.c @@ -1394,6 +1394,8 @@ iseq_setup_insn(rb_iseq_t *iseq, LINK_ANCHOR *const anchor) https://github.com/ruby/ruby/blob/trunk/compile.c#L1394 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; } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/