summaryrefslogtreecommitdiff
path: root/yjit_core.h
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-07-13 14:56:02 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:37 -0400
commit350b686a2c6cc8f27466222cf8520a8fda931ea2 (patch)
tree36dbefe0c991e13fcd4c07ee7e10845c2d268d87 /yjit_core.h
parent2440fafba00b6646b312a0c74798523bfa44bfe9 (diff)
First pass at code page GC object.
Diffstat (limited to 'yjit_core.h')
-rw-r--r--yjit_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/yjit_core.h b/yjit_core.h
index 45b7c18557..cff46648cc 100644
--- a/yjit_core.h
+++ b/yjit_core.h
@@ -242,8 +242,12 @@ typedef struct yjit_block_version
VALUE receiver_klass;
VALUE callee_cme;
+ // Code page this block lives on
+ VALUE code_page;
+
// Index one past the last instruction in the iseq
uint32_t end_idx;
+
} block_t;
// Context object methods