diff options
author | Takashi Kokubun <[email protected]> | 2025-04-04 09:06:56 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-04-18 21:53:01 +0900 |
commit | 8b72e07359488ebc4af2a23e44919c56f7013399 (patch) | |
tree | 988786c9057abb9fb7220316eda1b262c5868633 /vm.c | |
parent | 2915806820f6fd0686a8a2c4484c961266dcc817 (diff) |
Disable ZJIT profiling at call-threshold (https://github.com/Shopify/zjit/pull/99)
* Disable ZJIT profiling at call-threshold
* Stop referencing ZJIT instructions in codegen
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13131
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -443,7 +443,7 @@ jit_compile(rb_execution_context_t *ec) // At profile-threshold, rewrite some of the YARV instructions // to zjit_* instructions to profile these instructions. if (body->jit_entry_calls == rb_zjit_profile_threshold) { - rb_zjit_profile_iseq(iseq); + rb_zjit_profile_enable(iseq); } // At call-threshold, compile the ISEQ with ZJIT. |