76651 Commits

Author SHA1 Message Date
Takashi Kokubun
233ddfac54 Stop exporting symbols for MJIT 2023-03-06 21:59:23 -08:00
Takashi Kokubun
31f4b2d86b
Drop obsoleted MJIT header (#7458)
RJIT doesn't need this.
2023-03-06 21:41:48 -08:00
Takashi Kokubun
09b4236f17 Add a Slack notification for MJIT CI 2023-03-06 21:19:19 -08:00
git
c077df9b28 Update default gems list at 56ebeba436f7030694eea336fabad2 [ci skip] 2023-03-07 02:48:16 +00:00
Stan Lo
56ebeba436 [ruby/irb] Bump version to 1.6.3
(https://github.com/ruby/irb/pull/537)

https://github.com/ruby/irb/commit/110e4a3219
2023-03-07 02:47:15 +00:00
Hiroshi SHIBATA
030f39822a [ruby/net-http] Re-apply
https://github.com/ruby/net-http/commit/d22ca54904de after
testing

https://github.com/ruby/net-http/commit/7ac7401a9c
2023-03-07 01:35:20 +00:00
Takashi Kokubun
6df8a53055 Fix YJIT stats for RUBY_DEBUG builds 2023-03-06 13:37:01 -08:00
Takashi Kokubun
b116b2bcf6 Fix a compilation warning on Mac
../mjit_c.rb:493:17: warning: implicit conversion loses integer precision: 'ID' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
return UINT2NUM(vm_ci_mid((CALL_INFO)NUM2PTR(_ci_addr)));
       ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-03-06 13:20:54 -08:00
Peter Zhu
a1758fbd7f Crash when malloc during GC
This feature was introduced in commit 2ccf6e5, but I realized that
using rb_warn is a bad idea because it allocates objects, which causes
a different crash ("object allocation during garbage collection phase").
We should just hard crash here instead.
2023-03-06 09:09:03 -05:00
Nobuyoshi Nakada
755c379d87 [ruby/net-http] Exclude git related files
https://github.com/ruby/net-http/commit/2767df580d
2023-03-06 13:26:36 +00:00
Nobuyoshi Nakada
c8c3431b0a [ruby/net-http] Read in binary mode to get rid of invalid byte sequence
https://github.com/ruby/net-http/commit/38de3d17a7
2023-03-06 13:26:34 +00:00
Nobuyoshi Nakada
fd0a5659ca [ruby/net-http] Test building packages
Also revert commit https://github.com/ruby/net-http/commit/d22ca54904de "Replaced
non-ascii charactor. It fails version detection at `net-http.gemspec`."

https://github.com/ruby/net-http/commit/fbeb247d93
2023-03-06 13:26:34 +00:00
Jean Boussier
704dd25812 TestThreadInstrumentation: emit the EXIT event sooner
```
  1) Failure:
TestThreadInstrumentation#test_thread_instrumentation [/tmp/ruby/src/trunk-repeat20-asserts/test/-ext-/thread/test_instrumentation_api.rb:33]:
Call counters[4]: [3, 4, 4, 4, 0].
Expected 0 to be > 0.
```

We fire the EXIT hook after the call to `thread_sched_to_dead` which
mean another thread might be running before the `EXIT` hook have been
executed.
2023-03-06 13:10:42 +01:00
Takashi Kokubun
22d944c8b7 Avoid crashing at a random ISEQ access
[Feature #19420]
2023-03-05 23:28:59 -08:00
Takashi Kokubun
d6814fa24f Fix a BytePtr check of test 2023-03-05 23:28:59 -08:00
Takashi Kokubun
d51b4d4c3e Add Mod 10 to test r/m64, imm32 2023-03-05 23:28:59 -08:00
Takashi Kokubun
7573854c9f Add Mod 10 to cmp r/m64, imm8 2023-03-05 23:28:59 -08:00
Takashi Kokubun
a1ad5a2165 Omit test_version for Cirrus for now 2023-03-05 23:28:59 -08:00
Takashi Kokubun
d6fde0e6db Change default call threshold to 30 2023-03-05 23:28:59 -08:00
Takashi Kokubun
1c267d0723 Workaround USE_MJIT warnings 2023-03-05 23:28:59 -08:00
Takashi Kokubun
823309debc Remove unused variables 2023-03-05 23:28:59 -08:00
Takashi Kokubun
ef7f56c734 Resurrect CI for MJIT 2023-03-05 23:28:59 -08:00
Takashi Kokubun
a7d01656b1 Rely on YJIT's switch for now 2023-03-05 23:28:59 -08:00
Takashi Kokubun
a085df268d Update dependencies 2023-03-05 23:28:59 -08:00
Takashi Kokubun
ed5770878a Remove duplicated declarations 2023-03-05 23:28:59 -08:00
Takashi Kokubun
91f1dc532c Remove an obsoleted test 2023-03-05 23:28:59 -08:00
Takashi Kokubun
f0218303e0 Optimize String#getbyte 2023-03-05 23:28:59 -08:00
Takashi Kokubun
31babc5cea Optimize Module#=== 2023-03-05 23:28:59 -08:00
Takashi Kokubun
85c6169674 Implement struct aref 2023-03-05 23:28:59 -08:00
Takashi Kokubun
35faa33b65 Implement bmethod 2023-03-05 23:28:59 -08:00
Takashi Kokubun
26cb5d416f Implement alias 2023-03-05 23:28:59 -08:00
Takashi Kokubun
bd0d0d3b38 Reset chain_depth in more places 2023-03-05 23:28:59 -08:00
Takashi Kokubun
4a124dc1de Implement optimized call 2023-03-05 23:28:59 -08:00
Takashi Kokubun
c2fe6fa0d0 Chain-guard blockarg 2023-03-05 23:28:59 -08:00
Takashi Kokubun
2c25f0daae Implement proxy blockarg 2023-03-05 23:28:59 -08:00
Takashi Kokubun
c17f200500 Implement nil blockarg 2023-03-05 23:28:59 -08:00
Takashi Kokubun
c587666f68 Optimize Thread.current 2023-03-05 23:28:59 -08:00
Takashi Kokubun
9ee724408c Optimize #nil? 2023-03-05 23:28:59 -08:00
Takashi Kokubun
9556b6368f Optimize String#to_s 2023-03-05 23:28:59 -08:00
Takashi Kokubun
8049f3c9c7 Optimize BasicObject#== 2023-03-05 23:28:59 -08:00
Takashi Kokubun
cc646d3262 Implement getblockparam 2023-03-05 23:28:59 -08:00
Takashi Kokubun
6b38d1ce7b Implement concatarray 2023-03-05 23:28:59 -08:00
Takashi Kokubun
481615418a Implement getconstant 2023-03-05 23:28:59 -08:00
Takashi Kokubun
f2ef352ee0 Implement opt_str_freeze 2023-03-05 23:28:59 -08:00
Takashi Kokubun
89f8e20aa4 Implement branchnil 2023-03-05 23:28:59 -08:00
Takashi Kokubun
a1b2395409 Check for classes consistently 2023-03-05 23:28:59 -08:00
Takashi Kokubun
6b2c3ff813 Implement concatstrings 2023-03-05 23:28:59 -08:00
Takashi Kokubun
f85393514c Implement anytostring 2023-03-05 23:28:59 -08:00
Takashi Kokubun
43d1a7afd4 Implement cref on opt_getconstant_path 2023-03-05 23:28:59 -08:00
Takashi Kokubun
46a14b65fb Implement objtostring 2023-03-05 23:28:59 -08:00