ruby/tool/ruby_vm/views
Koichi Sasada f2286925f0 VALUE size packed callinfo (ci).
Now, rb_call_info contains how to call the method with tuple of
(mid, orig_argc, flags, kwarg). Most of cases, kwarg == NULL and
mid+argc+flags only requires 64bits. So this patch packed
rb_call_info to VALUE (1 word) on such cases. If we can not
represent it in VALUE, then use imemo_callinfo which contains
conventional callinfo (rb_callinfo, renamed from rb_call_info).

iseq->body->ci_kw_size is removed because all of callinfo is VALUE
size (packed ci or a pointer to imemo_callinfo).

To access ci information, we need to use these functions:
vm_ci_mid(ci), _flag(ci), _argc(ci), _kwarg(ci).

struct rb_call_info_kw_arg is renamed to rb_callinfo_kwarg.

rb_funcallv_with_cc() and rb_method_basic_definition_p_with_cc()
is temporary removed because cd->ci should be marked.
2020-02-22 09:58:59 +09:00
..
_attributes.erb
_c_expr.erb
_comptime_insn_stack_increase.erb Combine call info and cache to speed up method invocation 2019-10-24 18:03:42 +09:00
_copyright.erb [ci skip] grammers in comments 2019-04-23 10:27:44 +09:00
_insn_entry.erb Make sure we don't push MOVED or NONE on the stack 2019-12-11 11:07:15 -08:00
_insn_len_info.erb _insn_len_info.erb: add ASSERT_VM_INSTRUCTION_SIZE 2019-01-31 05:00:41 +00:00
_insn_name_info.erb
_insn_operand_info.erb _insn_operand_info.erb: use C99 2019-01-31 05:22:58 +00:00
_insn_sp_pc_dependency.erb Introduce frame-omitted method inlining 2019-04-16 17:02:16 +00:00
_insn_type_chars.erb _insn_type_chars.erb: use C99 2019-01-31 05:36:17 +00:00
_leaf_helpers.erb Avoid top-level search for nested constant reference from nil in defined? 2019-11-13 15:36:58 +09:00
_mjit_compile_insn.erb VALUE size packed callinfo (ci). 2020-02-22 09:58:59 +09:00
_mjit_compile_insn_body.erb MJIT Support for getblockparamproxy 2019-07-14 18:04:19 +09:00
_mjit_compile_ivar.erb Introduce an "Inline IVAR cache" struct 2019-12-05 13:37:02 -08:00
_mjit_compile_pc_and_sp.erb Prefer using vm_base_ptr rather than cfp->bp 2019-03-25 14:26:11 +00:00
_mjit_compile_send.erb VALUE size packed callinfo (ci). 2020-02-22 09:58:59 +09:00
_notice.erb
_sp_inc_helpers.erb VALUE size packed callinfo (ci). 2020-02-22 09:58:59 +09:00
_trace_instruction.erb
insns.inc.erb
insns_info.inc.erb Combine call info and cache to speed up method invocation 2019-10-24 18:03:42 +09:00
mjit_compile.inc.erb Combine call info and cache to speed up method invocation 2019-10-24 18:03:42 +09:00
opt_sc.inc.erb
optinsn.inc.erb
optunifs.inc.erb
vm.inc.erb
vmtc.inc.erb