| Age | Commit message (Collapse) | Author |
|
|
|
This is no longer used.
|
|
Was my bad to assume sp_inc was positive. Real criteria is the
calculated sp is non-negative. We have to assert that.
|
|
Previously, for inclusive ranges, the max would show up as the
end of the range, even though the end was not an integer and would
not be the maximum value. For exclusive ranges, max/minmax would
previously raise a TypeError, even though it is possible to get the
correct maximum.
This change to max/minmax also uncovered a similar error in cover?,
which calls max in certain cases, so adjust the code there so that
cover? still works as expected.
Fixes [Bug #17017]
Notes:
Merged: https://github.com/ruby/ruby/pull/3306
Merged-By: jeremyevans <code@jeremyevans.net>
|
|
|
|
--jit-min-calls=5 is too unstable
|
|
|
|
* RUN_OPTS needs to be specified for overriding it
* Add --jit-min-calls=5
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
|
|
|
|
Stacks are emulated in MJIT, must not touch the original VM stack.
See also http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3061353
|
|
|
|
Instead of doubling the invokebuiltin logic here and there, use the same
insns.def definition for both MJIT/non-JIT situations.
Notes:
Merged: https://github.com/ruby/ruby/pull/3305
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3305
|
|
This commit fixes compiler error on MSVC. %p on that platform is not
suitable to represent a compile-time constant.
https://ci.appveyor.com/project/ruby/ruby/builds/34017163/job/vj2a8uk3gwv9yxak#L24381
Notes:
Merged: https://github.com/ruby/ruby/pull/3305
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3305
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3305
|
|
We can obtain the verbatim source code of Primitive.cexpr!. Why not
paste that content into the JITed program.
Notes:
Merged: https://github.com/ruby/ruby/pull/3305
|
|
Noticed that struct rb_builtin_function is a purely compile-time
constant. MJIT can eliminate some runtime calculations by statically
generate dedicated C code generator for each builtin functions.
Notes:
Merged: https://github.com/ruby/ruby/pull/3305
|
|
|
|
* removed out-of-date and duplicate list
* stated that everything synced from github
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3312
|
|
|
|
Tests depending on the rounding mode must specify the appropriate rounding
mode and restore to the original mode at the end.
Notes:
Merged-By: mrkn <mrkn@ruby-lang.org>
|
|
* Enhanced RDoc for Array#fill
* Update array.c
There's one more at 5072. I'll get it.
Co-authored-by: Eric Hodel <drbrain@segment7.net>
* Update array.c
Co-authored-by: Eric Hodel <drbrain@segment7.net>
* Update array.c
Co-authored-by: Eric Hodel <drbrain@segment7.net>
* Update array.c
Co-authored-by: Eric Hodel <drbrain@segment7.net>
* Update array.c
Co-authored-by: Eric Hodel <drbrain@segment7.net>
* Update array.c
Co-authored-by: Eric Hodel <drbrain@segment7.net>
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
imemo_callcache and imemo_callinfo were not handled by the `objspace`
module and were showing up as "unknown" in the dump. Extract the code for
naming imemos and use that in both the GC and the `objspace` module.
Notes:
Merged: https://github.com/ruby/ruby/pull/3304
|
|
Fixes [Bug #16977]
|
|
|
|
Fixes [Bug #16922]
Notes:
Merged: https://github.com/ruby/ruby/pull/3177
|
|
|
|
|
|
which is checked by the first guard. When JIT-inlined cc and operand
cd->cc are different, the JIT-ed code might wrongly dispatch cd->cc even
while class check is done with another cc inlined by JIT.
This fixes SEGV on railsbench.
|
|
|
|
|
|
|
|
Ko1 doesn't like previous code.
Notes:
Merged: https://github.com/ruby/ruby/pull/3296
|
|
Struct assignment using a compound literal is more readable than before,
to me at least. It seems compilers reorder assignments anyways.
Neither speedup nor slowdown is observed on my machine.
Notes:
Merged: https://github.com/ruby/ruby/pull/3296
|
|
Static assertions shall be done using STATIC_ASSERT these days.
Notes:
Merged: https://github.com/ruby/ruby/pull/3296
|
|
These assertions are purely static. Ned not be checked on-the-fly.
Notes:
Merged: https://github.com/ruby/ruby/pull/3296
|
|
Made it a bit readable.
Notes:
Merged: https://github.com/ruby/ruby/pull/3296
|
|
Surprised to see such a waste of time in this super duper hot path.
Notes:
Merged: https://github.com/ruby/ruby/pull/3296
|
|
Also, make DelegateClass.instance_method fallback to superclass.
Fixes [Bug #16982]
Notes:
Merged: https://github.com/ruby/ruby/pull/3221
Merged-By: jeremyevans <code@jeremyevans.net>
|
|
|
|
Update and format the Kernel#load documentation to separate the
three cases (absolute path, explicit relative path, other), and
also document that it raises LoadError on failure.
Fixes [Bug #16988]
|
|
|
|
|
|
|