ruby-changes:34792
From: nobu <ko1@a...>
Date: Sat, 19 Jul 2014 17:08:02 +0900 (JST)
Subject: [ruby-changes:34792] nobu:r46875 (trunk): compile.c: FCALL flag on AREF
nobu 2014-07-19 17:07:48 +0900 (Sat, 19 Jul 2014) New Revision: 46875 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46875 Log: compile.c: FCALL flag on AREF * compile.c (iseq_compile_each): set FCALL flag on AREF call at private aref op_assign. [ruby-core:63817] [Bug #10060] Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 46874) +++ compile.c (revision 46875) @@ -4034,8 +4034,8 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ https://github.com/ruby/ruby/blob/trunk/compile.c#L4034 ADD_SEQ(ret, args); } ADD_INSN1(ret, line, dupn, FIXNUM_INC(argc, 1 + boff)); - ADD_SEND_R(ret, line, ID2SYM(idAREF), argc, Qfalse, LONG2FIX(flag)); flag |= asgnflag; + ADD_SEND_R(ret, line, ID2SYM(idAREF), argc, Qfalse, LONG2FIX(flag)); if (id == 0 || id == 1) { /* 0: or, 1: and -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/