summaryrefslogtreecommitdiff
path: root/mjit.rb
Commit message (Collapse)AuthorAgeFilesLines
* MJIT: Cancel all on disastrous situations (#7019)Takashi Kokubun2022-12-241-0/+1
| | | | | | | | | | I noticed this while running test_yjit with --mjit-call-threshold=1, which redefines `Integer#<`. When Ruby is monkey-patched, MJIT itself could be broken. Similarly, Ruby scripts could break MJIT in many different ways. I prepared the same set of hooks as YJIT so that we could possibly override it and disable it on those moments. Every constant under RubyVM::MJIT is private and thus it's an unsupported behavior though.
* Polish the public docs for MJIT [ci skip]Takashi Kokubun2022-12-221-1/+6
| | | | | Now every private interface is cleaned up, and the public interface is documented.
* Put RubyVM::MJIT::Compiler under ruby_vm directory (#6989)Takashi Kokubun2022-12-211-4/+4
| | | [Misc #19250]
* MJIT: Make it parsable by Solargraph (#6827)Takashi Kokubun2022-11-281-0/+1
| | | | | | | * Revert "Revert "MJIT: Make it parsable by Solargraph"" This reverts commit 8e18761da1932df88bfb6505acbda4740e1b2930. * Call rb_gc_register_mark_object
* Revert "MJIT: Make it parsable by Solargraph"Takashi Kokubun2022-11-281-1/+0
| | | | | | | | | | | This reverts commit ccd8dd6ad395bbd9f5290e0fcb7929e5e5d36767. Revert "MJIT: Fix miniruby with MJIT_FORCE_ENABLE" This reverts commit b033775ed9d9226ba73c1d4a197e55ba89575142. GitHub Actions is failing. I ran out of time today to investigate it. will try it again tomorrow.
* MJIT: Make it parsable by SolargraphTakashi Kokubun2022-11-271-0/+1
|
* Suppress warnings againTakashi Kokubun2022-11-271-1/+1
|
* MJIT: Move some private declarationsTakashi Kokubun2022-11-271-0/+4
| | | | and clean up legacy comments for the Ruby migration
* MJIT: Merge mjit_compiler.rb into mjit.rbTakashi Kokubun2022-11-261-0/+13
| | | | There are too many mjit_compiler.* files. It was hard to find files.
* Move RubyVM::MJIT to builtin RubyTakashi Kokubun2022-06-151-0/+13
just less C code to maintain