summaryrefslogtreecommitdiff
path: root/yjit_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'yjit_core.h')
-rw-r--r--yjit_core.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/yjit_core.h b/yjit_core.h
index 6cd3ec0095..f31fd58230 100644
--- a/yjit_core.h
+++ b/yjit_core.h
@@ -241,8 +241,8 @@ typedef struct yjit_block_version
ctx_t ctx;
// Positions where the generated code starts and ends
- uint8_t* start_addr;
- uint8_t* end_addr;
+ uint8_t *start_addr;
+ uint8_t *end_addr;
// List of incoming branches (from predecessors)
branch_array_t incoming;
@@ -258,6 +258,10 @@ typedef struct yjit_block_version
// block in the system.
cme_dependency_array_t cme_dependencies;
+ // Code address of an exit for `ctx` and `blockid`. Used for block
+ // invalidation.
+ uint8_t *entry_exit;
+
// Index one past the last instruction in the iseq
uint32_t end_idx;