Takashi Kokubun
9cd5441d28
RJIT: Implement --rjit-trace-exits
2023-03-12 15:15:08 -07:00
Takashi Kokubun
846fc356cb
RJIT: Use case-in for exhaustive matches
2023-03-11 22:17:06 -08:00
Takashi Kokubun
fe34db5a1b
RJIT: Migrate SIZET values to RJIT::C constants
2023-03-11 22:04:30 -08:00
Takashi Kokubun
50c5f94ed7
RJIT: Introduce constants under RubyVM::RJIT::C
2023-03-11 21:48:28 -08:00
Takashi Kokubun
58f7e8b7f8
RJIT: Automate function pointer imports
2023-03-11 21:26:40 -08:00
Takashi Kokubun
47a6cfca72
RJIT: Use as the largest type as possible
...
to just import stuff easily
2023-03-11 21:26:40 -08:00
Takashi Kokubun
46a3634bcf
RJIT: Use SIZET macros instead of original PTR ones
2023-03-11 20:47:08 -08:00
Takashi Kokubun
c6bea54c70
RJIT: Drop unused USE_* macros support
2023-03-11 20:42:28 -08:00
Takashi Kokubun
0c0c88d383
Support multiple attributes with Primitive.attr!
2023-03-11 14:19:46 -08:00
Takashi Kokubun
76808b1ee4
RJIT: Start testing Assembler
2023-03-10 13:57:52 -08:00
Takashi Kokubun
cdece5cf36
RJIT: Remove unused code from headers
2023-03-10 13:11:01 -08:00
Takashi Kokubun
c364e0745d
RJIT: Introduce --rjit-exec-mem-size
2023-03-10 13:04:45 -08:00
Takashi Kokubun
93f7106b62
RJIT: Remove unused methods in rjit_c.rb
2023-03-10 11:42:23 -08:00
Takashi Kokubun
4afe9c09a0
RJIT: Use imemo_type_p instead
...
which seems safer. It seems like imemo_type can cause SEGV.
2023-03-09 22:15:16 -08:00
Takashi Kokubun
1a0d3ec4b9
RJIT: Make functions in rjit_c.c static
...
They don't need to be global.
2023-03-08 23:38:02 -08:00
Takashi Kokubun
f5909ac6d9
RJIT: Stop allowing leaked globals rjit_*
2023-03-08 23:24:38 -08:00
Takashi Kokubun
9ad19069f9
Remove obsoleted functions in rjit.c
2023-03-07 23:59:50 -08:00
Takashi Kokubun
e93e780f3d
Remove MJIT's builtin function compiler
2023-03-07 23:16:24 -08:00
Takashi Kokubun
6d91df08b5
Allow enabling YJIT and RJIT independently ( #7474 )
...
We used to require MJIT is supported when YJIT is supported. However,
now that RJIT dropped some platforms that YJIT supports, it no longer
makes sense. We should be able to enable only YJIT, and vice versa.
2023-03-07 22:43:37 -08:00
Takashi Kokubun
589c2b1fb2
Regenerate RJIT bindgen
2023-03-06 23:44:01 -08:00
Takashi Kokubun
23ec248e48
s/mjit/rjit/
2023-03-06 23:44:01 -08:00
Takashi Kokubun
2e875549a9
s/MJIT/RJIT/
2023-03-06 23:44:01 -08:00
Takashi Kokubun
eaccdc1941
Rename MJIT filenames to RJIT
2023-03-06 23:44:01 -08:00