summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2023-10-12 10:05:34 -0400
committerGitHub <noreply@github.com>2023-10-12 10:05:34 -0400
commitb2e1ddffa55463f1180af7f9b269a2d89140b131 (patch)
treedf428c260b64f5d84126bbe4b957784d02563dc3 /tool
parent0c42c28531ea73a4a3e09dc12abe9f3264b87860 (diff)
YJIT: port call threshold logic from Rust to C for performance (#8628)
* Port call threshold logic from Rust to C for performance * Prefix global/field names with yjit_ * Fix linker error * Fix preprocessor condition for rb_yjit_threshold_hit * Fix third linker issue * Exclude yjit_calls_at_interv from RJIT bindgen --------- Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rjit/bindgen.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rjit/bindgen.rb b/tool/rjit/bindgen.rb
index b66870e1d2..deb989dcfd 100755
--- a/tool/rjit/bindgen.rb
+++ b/tool/rjit/bindgen.rb
@@ -637,7 +637,7 @@ generator = BindingGenerator.new(
skip_fields: {
'rb_execution_context_struct.machine': %w[regs], # differs between macOS and Linux
rb_execution_context_struct: %w[method_missing_reason], # non-leading bit fields not supported
- rb_iseq_constant_body: %w[jit_exception jit_exception_calls yjit_payload], # conditionally defined
+ rb_iseq_constant_body: %w[jit_exception jit_exception_calls yjit_payload yjit_calls_at_interv], # conditionally defined
rb_thread_struct: %w[status has_dedicated_nt to_kill abort_on_exception report_on_exception pending_interrupt_queue_checked],
:'' => %w[is_from_method is_lambda is_isolated], # rb_proc_t
},