summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-04-02 17:41:33 +0200
committerJean Boussier <[email protected]>2025-04-02 18:50:14 +0200
commitfe9ebb245644a38392fd26b5ec18efd8e549b154 (patch)
treeb5c445d1f2e2eb1ae1a17fba0bfb82451e33c569
parent3a7b03242f4f8f31899ffcf5e4a253ae6f01e96a (diff)
vm_core.h: unify YJIT ifdefs
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13044
-rw-r--r--vm_core.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/vm_core.h b/vm_core.h
index d9159f5ccf..c5c0c05b6d 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -539,16 +539,10 @@ struct rb_iseq_constant_body {
rb_jit_func_t jit_entry;
// Number of calls on jit_exec()
long unsigned jit_entry_calls;
-#endif
-
-#if USE_YJIT
// Function pointer for JIT code on jit_exec_exception()
rb_jit_func_t jit_exception;
// Number of calls on jit_exec_exception()
long unsigned jit_exception_calls;
-#endif
-
-#if USE_YJIT
// YJIT stores some data on each iseq.
void *yjit_payload;
// Used to estimate how frequently this ISEQ gets called