diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2025-04-04 09:06:56 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-04-18 21:53:01 +0900 |
commit | 8b72e07359488ebc4af2a23e44919c56f7013399 (patch) | |
tree | 988786c9057abb9fb7220316eda1b262c5868633 /zjit.h | |
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 'zjit.h')
-rw-r--r-- | zjit.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,13 +10,13 @@ extern uint64_t rb_zjit_call_threshold; extern uint64_t rb_zjit_profile_threshold; void rb_zjit_compile_iseq(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception); void rb_zjit_profile_insn(enum ruby_vminsn_type insn, rb_execution_context_t *ec); -void rb_zjit_profile_iseq(const rb_iseq_t *iseq); +void rb_zjit_profile_enable(const rb_iseq_t *iseq); void rb_zjit_bop_redefined(int redefined_flag, enum ruby_basic_operators bop); void rb_zjit_invalidate_ep_is_bp(const rb_iseq_t *iseq); #else static inline void rb_zjit_compile_iseq(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception) {} static inline void rb_zjit_profile_insn(enum ruby_vminsn_type insn, rb_execution_context_t *ec) {} -static inline void rb_zjit_profile_iseq(const rb_iseq_t *iseq) {} +static inline void rb_zjit_profile_enable(const rb_iseq_t *iseq) {} static inline void rb_zjit_bop_redefined(int redefined_flag, enum ruby_basic_operators bop) {} static inline void rb_zjit_invalidate_ep_is_bp(const rb_iseq_t *iseq) {} #endif // #if USE_YJIT |