1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

9 commits

Author SHA1 Message Date
Alan Wu
188c54428c MicroJIT: avoid having to invalidate running output code 2021-10-20 18:19:26 -04:00
Alan Wu
c378c7a7cb MicroJIT: generate less code for CFUNCs
Added UJIT_CHECK_MODE. Set to 1 to double check method dispatch in
generated code.

It's surprising to me that we need to watch both cc and cme. There might
be opportunities to simplify there.
2021-10-20 18:19:26 -04:00
Alan Wu
498fe0fb52 Move MicroJIT compilation threshold into MicroJIT's header 2021-10-20 18:19:25 -04:00
Alan Wu
12ba0c0815 Declare extern with RUBY_EXTERN for MJIT 2021-10-20 18:19:25 -04:00
Alan Wu
a245db8df8 Export MicroJIT global used in MJIT 2021-10-20 18:19:25 -04:00
Alan Wu
8bda11f690 MicroJIT: compile after ten calls 2021-10-20 18:19:25 -04:00
Alan Wu
e8c914c250 Implement the --disable-ujit command line option 2021-10-20 18:19:24 -04:00
Maxime Chevalier-Boisvert
038f5d964f Avoid recompiling overlapping instruction sequences in ujit 2021-10-20 18:19:23 -04:00
Maxime Chevalier-Boisvert
1c8fb90f6b Add new files, ujit_compile.c, ujit_compile.h 2021-10-20 18:19:23 -04:00