| Age | Commit message (Collapse) | Author |
|
Instead of `irep` links, we added a `upper` link to `struct RProc`.
To make a space for the `upper` link, we moved `target_class` reference.
If a `Proc` does not have `env`, `target_class` is saved in an `union`
shared with `env` (if a `Proc` has env, you can tell it by `MRB_PROC_ENV_P()).
Otherwise `target_class` is referenced from `env->c`. We removed links
in `env` as well.
This change removes 2 members from `mrb_irep` struct, thus saving 2
words per method/proc/block. This also fixes potential memory leaks
due to the circular references caused by a link from `mrb_irep`.
|
|
|
|
|
|
|
|
|
|
dabroz-fix-get-argc
|
|
|
|
|
|
|
|
|
|
and mrb_get_argv
Fixes #3825
|
|
|
|
`RSTR_FSHARED` use frozen strings as shared body instead of
`struct mrb_shared_string`. This reduces allocation from
literal strings.
|
|
|
|
|
|
possible loss of data
|
|
possible loss of data
|
|
possible loss of data
|
|
possible loss of data
|
|
possible loss of data
|
|
possible loss of data
|
|
possible loss of data
|
|
possible loss of data
|
|
possible loss of data
|
|
'mrb_int' to 'int', possible loss of data
|
|
'int', possible loss of data
|
|
'int', possible loss of data
|
|
'long', possible loss of data
|
|
array in struct/union
|
|
'int', possible loss of data
|
|
'int', possible loss of data
|
|
array in struct/union
|
|
'mrb_int' to 'int', possible loss of data
|
|
implicitly converted to 64 bits (was 64-bit shift intended?)
|
|
'mrb_int' to 'mrb_float', possible loss of data
|
|
to 'int', possible loss of data
|
|
'int', possible loss of data
|
|
to 'khint_t', possible loss of data
|
|
'khint_t', possible loss of data
|
|
'khint_t', possible loss of data
|
|
possible loss of data
|
|
possible loss of data
|
|
possible loss of data
|
|
'int', possible loss of data
|
|
to 'uint16_t', possible loss of data
|
|
to 'uint16_t', possible loss of data
|
|
'int', possible loss of data
|
|
'int', possible loss of data
|
|
'int', possible loss of data
|
|
'int', possible loss of data
|