diff options
| author | annichai-stripe <annichai@stripe.com> | 2025-03-03 12:45:39 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-03 15:45:39 -0500 |
| commit | 5085ec3ed90beb54125d5eb9329e202ae1542b5c (patch) | |
| tree | 9c40255c049e323bf9e3e56ad12d695a454093ef /include/ruby/assert.h | |
| parent | 9ccba88160c1b702a97b80817b97109cc2b9f33c (diff) | |
Allow YJIT `mem-size` and `call-threshold` to be set at runtime via `YJIT.enable()` (#12505)
* first commit
* yjit.rb change
* revert formatting
* rename mem-size to exec-mem-size for correctness
* wip, move setting into rb_yjit_enable directly
* remove unused helper functions
* add in call threshold
* input validation with extensive eprintln
* delete test script
* exec-mem-size -> mem-size
* handle input validation with asserts
* add test cases related to input validation
* modify test cases
* move validation out of rs, into rb
* add comments
* remove trailing spaces
* remove logging
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
* remove helper fn
* Update test/ruby/test_yjit.rb
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
* trailing white space
---------
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
Notes
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'include/ruby/assert.h')
0 files changed, 0 insertions, 0 deletions
