summaryrefslogtreecommitdiff
path: root/mjit_compiler.c
AgeCommit message (Collapse)Author
2022-11-29MJIT: Rename mjit_compiler.c to mjit_c.cTakashi Kokubun
It's no longer about the compiler logic itself.
2022-11-29MJIT: Move Primitive helpers to mjit_c.rbTakashi Kokubun
2022-11-29MJIT: Self-contain extern declarationsTakashi Kokubun
I'm trying to get rid of mjit_compiler.c, and this helps that migration.
2022-11-29MJIT: Refactor CDHASH handlingTakashi Kokubun
Converting a CDHASH into a safe Hash is a lot of work, but retrieving just values is much easier.
2022-11-28MJIT: Cache an ISeq pointer instanceTakashi Kokubun
to obviate one rb_funcall. This also removes rb_ptr as refactoring.
2022-11-28MJIT: Get rid of is_entries copyTakashi Kokubun
MJIT worker no longer exists, so we don't need this safeguard anymore.
2022-11-28MJIT: Make it parsable by Solargraph (#6827)Takashi Kokubun
* Revert "Revert "MJIT: Make it parsable by Solargraph"" This reverts commit 8e18761da1932df88bfb6505acbda4740e1b2930. * Call rb_gc_register_mark_object Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-11-28MJIT: Rename mjit_compiler.h to mjit_c.hTakashi Kokubun
because it exists primarily for generating mjit_c.rb.
2022-11-28Revert "MJIT: Make it parsable by Solargraph"Takashi Kokubun
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.
2022-11-27MJIT: Make it parsable by SolargraphTakashi Kokubun
2022-11-27MJIT: Get rid of C.fprintfTakashi Kokubun
Faster code generation and cleaner code.
2022-11-27MJIT: Use a String buffer in builtin compilersTakashi Kokubun
instead of FILE*. Using C.fprintf is slower than String manipulation on memory. I'm going to change the way MJIT writes files, and this is a prerequisite for it.
2022-11-26MJIT: Merge mjit_compiler.rb into mjit.rbTakashi Kokubun
There are too many mjit_compiler.* files. It was hard to find files.
2022-09-26Avoid type limits (#6435)Nobuyoshi Nakada
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-09-23Remove unneeded semicolonsTakashi Kokubun
2022-09-23Suppress -Wtype-limits warnings on mjit_c.rbTakashi Kokubun
2022-09-23Bindgen offsetof struct and union with builtinTakashi Kokubun
except for bit fields. I made a risky assumption on leading bit fields and just gave up non-leading bit fields for now. I'll change it to let C code access bit fields later. Notes: Merged: https://github.com/ruby/ruby/pull/6418
2022-09-23Bindgen immediate types with builtinTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/6418
2022-09-23Builtin RubyVM::MJIT::CTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/6418
2022-09-18Demote mjit_instruction.rb from builtin to stdlibTakashi Kokubun
2022-09-06Cache RubyVM::MJIT constantsTakashi Kokubun
for performance
2022-09-04Ruby MJIT (#6028)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-08-21Rename mjit_compile.c to mjit_compiler.cTakashi Kokubun
I'm planning to introduce mjit_compiler.rb, and I want to make this consistent with it. Consistency with compile.c doesn't seem important for MJIT anyway.