1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/internal
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
..
array.h decouple internal.h headers 2019-12-26 20:45:12 +09:00
bignum.h Introduce BIGNUM_EMBED_P to check BIGNUM_EMBED_FLAG (#2802) 2019-12-31 22:48:23 +09:00
bits.h avoid undefined behaviour when n==0 2020-01-10 21:17:15 +09:00
class.h decouple internal.h headers 2019-12-26 20:45:12 +09:00
compar.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
compile.h internal/compile.h rework 2019-12-26 20:45:12 +09:00
compilers.h add missing #include 2020-01-10 21:17:15 +09:00
complex.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
cont.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
dir.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
enc.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
encoding.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
enum.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
enumerator.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
error.h Added rb_warn_deprecated_to_remove 2020-01-23 21:42:15 +09:00
eval.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
file.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
fixnum.h internal/fixnum.h rework 2019-12-26 20:45:12 +09:00
gc.h Separate objspace argument for rb_gc_disable and rb_gc_enable 2020-02-09 17:06:31 +09:00
hash.h decouple internal.h headers 2019-12-26 20:45:12 +09:00
imemo.h VALUE size packed callinfo (ci). 2020-02-22 09:58:59 +09:00
inits.h
io.h decouple internal.h headers 2019-12-26 20:45:12 +09:00
load.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
loadpath.h
math.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
missing.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
mjit.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
numeric.h internal/rational.h: insert assertions in RATIONAL_SET_{NUM,DEN} 2020-01-17 10:06:58 +09:00
object.h internal/object.h rework 2019-12-26 20:45:12 +09:00
parse.h decouple internal.h headers 2019-12-26 20:45:12 +09:00
proc.h Proc made by Symbol#to_proc should be a lambda [Bug #16260] 2020-02-22 00:45:05 +09:00
process.h internal/process.h rework 2019-12-26 20:45:12 +09:00
random.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
range.h internal/range.h rework 2019-12-26 20:45:12 +09:00
rational.h internal/rational.h: insert assertions in RATIONAL_SET_{NUM,DEN} 2020-01-17 10:06:58 +09:00
re.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
sanitizers.h Fixed an unavailable sanitizer feature 2019-12-29 08:19:43 +09:00
serial.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
signal.h
static_assert.h internal/static_assert.h rework 2019-12-26 20:45:12 +09:00
stdbool.h internal/stdbool.h rework 2019-12-26 20:45:12 +09:00
string.h decouple internal.h headers 2019-12-26 20:45:12 +09:00
struct.h decouple internal.h headers 2019-12-26 20:45:12 +09:00
symbol.h decouple internal.h headers 2019-12-26 20:45:12 +09:00
thread.h internal/thread.h rework 2019-12-26 20:45:12 +09:00
time.h Extract a function, ruby_reset_timezone(). 2020-01-28 23:40:25 +09:00
transcode.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
util.h other minior internal header tweaks 2019-12-26 20:45:12 +09:00
variable.h decouple internal.h headers 2019-12-26 20:45:12 +09:00
vm.h VALUE size packed callinfo (ci). 2020-02-22 09:58:59 +09:00
warnings.h internal/warnings.h rework 2019-12-26 20:45:12 +09:00