ruby-changes:47472
From: nobu <ko1@a...>
Date: Mon, 14 Aug 2017 23:18:37 +0900 (JST)
Subject: [ruby-changes:47472] nobu:r59589 (trunk): type is invariant inside this block
nobu 2017-08-14 23:18:29 +0900 (Mon, 14 Aug 2017) New Revision: 59589 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59589 Log: type is invariant inside this block Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 59588) +++ compile.c (revision 59589) @@ -5615,7 +5615,7 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK https://github.com/ruby/ruby/blob/trunk/compile.c#L5615 } /* dummy receiver */ - ADD_INSN1(ret, line, putobject, nd_type(node) == NODE_ZSUPER ? Qfalse : Qtrue); + ADD_INSN1(ret, line, putobject, type == NODE_ZSUPER ? Qfalse : Qtrue); ADD_SEQ(ret, args); ADD_INSN3(ret, line, invokesuper, new_callinfo(iseq, 0, argc, flag | VM_CALL_SUPER | VM_CALL_FCALL, keywords, parent_block != NULL), -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/