summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorJohn Hawthorn <[email protected]>2024-10-18 12:01:45 -0700
committerGitHub <[email protected]>2024-10-18 15:01:45 -0400
commit7be9a333cabd97a17a2926b15f756f2ef9e57243 (patch)
treee4fd6bf640fd0f4e81126e4d9b88f7402c623d4f /vm_core.h
parente17243d3254387ae95b73d9bc6454db36b8e8a43 (diff)
YJIT: Allow shareable consts in multi-ractor mode (#11917)
* Update yjit-bindgen deps * YJIT: Allow shareable consts in multi-ractor mode * Update yjit/src/codegen.rs Co-authored-by: Alan Wu <[email protected]> --------- Co-authored-by: Alan Wu <[email protected]>
Notes
Notes: Merged-By: maximecb <[email protected]>
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index bce5f35763..9aa93b7e21 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -230,6 +230,8 @@ union ic_serial_entry {
VALUE data[2];
};
+#define IMEMO_CONST_CACHE_SHAREABLE IMEMO_FL_USER0
+
// imemo_constcache
struct iseq_inline_constant_cache_entry {
VALUE flags;