ruby-changes:50895
From: nobu <ko1@a...>
Date: Thu, 5 Apr 2018 21:46:54 +0900 (JST)
Subject: [ruby-changes:50895] nobu:r63102 (trunk): compile.c: do not dump pointers
nobu 2018-04-05 21:46:46 +0900 (Thu, 05 Apr 2018) New Revision: 63102 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63102 Log: compile.c: do not dump pointers * compile.c (ibf_dump_iseq_each): ensure succ_index_table pointer field to be 0. Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 63101) +++ compile.c (revision 63102) @@ -8782,6 +8782,7 @@ ibf_dump_iseq_each(struct ibf_dump *dump https://github.com/ruby/ruby/blob/trunk/compile.c#L8782 #if VM_INSN_INFO_TABLE_IMPL == 2 positions = rb_iseq_insns_info_decode_positions(&dump_body); dump_body.insns_info.positions = positions; + dump_body.insns_info.succ_index_table = 0; #endif dump_body.insns_info.positions = ibf_dump_insns_info_positions(dump, &dump_body); #if VM_INSN_INFO_TABLE_IMPL == 2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/