ruby-changes:48414
From: ktsj <ko1@a...>
Date: Sun, 29 Oct 2017 00:37:05 +0900 (JST)
Subject: [ruby-changes:48414] ktsj:r60528 (trunk): iseq.c: remove obsolete comment
ktsj 2017-10-29 00:37:00 +0900 (Sun, 29 Oct 2017) New Revision: 60528 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60528 Log: iseq.c: remove obsolete comment You can see ARGS_SIMPLE flag as follows: $ ruby --dump=insns -e itself Modified files: trunk/iseq.c Index: iseq.c =================================================================== --- iseq.c (revision 60527) +++ iseq.c (revision 60528) @@ -1393,13 +1393,13 @@ rb_insn_operand_intern(const rb_iseq_t * https://github.com/ruby/ruby/blob/trunk/iseq.c#L1393 if (ci->flag & VM_CALL_ARGS_BLOCKARG_BLOCKPARAM) rb_ary_push(flags, rb_str_new2("ARGS_BLOCKARG_BLOCKPARAM")); if (ci->flag & VM_CALL_FCALL) rb_ary_push(flags, rb_str_new2("FCALL")); if (ci->flag & VM_CALL_VCALL) rb_ary_push(flags, rb_str_new2("VCALL")); + if (ci->flag & VM_CALL_ARGS_SIMPLE) rb_ary_push(flags, rb_str_new2("ARGS_SIMPLE")); if (ci->flag & VM_CALL_BLOCKISEQ) rb_ary_push(flags, rb_str_new2("BLOCKISEQ")); if (ci->flag & VM_CALL_TAILCALL) rb_ary_push(flags, rb_str_new2("TAILCALL")); if (ci->flag & VM_CALL_SUPER) rb_ary_push(flags, rb_str_new2("SUPER")); if (ci->flag & VM_CALL_KWARG) rb_ary_push(flags, rb_str_new2("KWARG")); if (ci->flag & VM_CALL_KW_SPLAT) rb_ary_push(flags, rb_str_new2("KW_SPLAT")); if (ci->flag & VM_CALL_OPT_SEND) rb_ary_push(flags, rb_str_new2("SEND")); /* maybe not reachable */ - if (ci->flag & VM_CALL_ARGS_SIMPLE) rb_ary_push(flags, rb_str_new2("ARGS_SIMPLE")); /* maybe not reachable */ rb_ary_push(ary, rb_ary_join(flags, rb_str_new2("|"))); } ret = rb_sprintf("<callinfo!%"PRIsVALUE">", rb_ary_join(ary, rb_str_new2(", "))); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/