mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ef809762e5
commit
f5a43f4a9b
1 changed files with 1 additions and 1 deletions
|
@ -4034,8 +4034,8 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
|
||||||
ADD_SEQ(ret, args);
|
ADD_SEQ(ret, args);
|
||||||
}
|
}
|
||||||
ADD_INSN1(ret, line, dupn, FIXNUM_INC(argc, 1 + boff));
|
ADD_INSN1(ret, line, dupn, FIXNUM_INC(argc, 1 + boff));
|
||||||
ADD_SEND_R(ret, line, ID2SYM(idAREF), argc, Qfalse, LONG2FIX(flag));
|
|
||||||
flag |= asgnflag;
|
flag |= asgnflag;
|
||||||
|
ADD_SEND_R(ret, line, ID2SYM(idAREF), argc, Qfalse, LONG2FIX(flag));
|
||||||
|
|
||||||
if (id == 0 || id == 1) {
|
if (id == 0 || id == 1) {
|
||||||
/* 0: or, 1: and
|
/* 0: or, 1: and
|
||||||
|
|
Loading…
Reference in a new issue