summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yjit_core.c2
-rw-r--r--yjit_core.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/yjit_core.c b/yjit_core.c
index 02f629d9ce..a3b52971fb 100644
--- a/yjit_core.c
+++ b/yjit_core.c
@@ -658,7 +658,7 @@ make_branch_entry(block_t *block, const ctx_t *src_ctx, branchgen_fn gen_fn)
branch_t *branch = calloc(1, sizeof(branch_t));
branch->block = block;
- branch->src_ctx = *src_ctx;
+ (void)src_ctx; // Unused for now
branch->gen_fn = gen_fn;
branch->shape = SHAPE_DEFAULT;
diff --git a/yjit_core.h b/yjit_core.h
index 299dae81f5..e38dd790ac 100644
--- a/yjit_core.h
+++ b/yjit_core.h
@@ -196,7 +196,8 @@ typedef struct yjit_branch_entry
uint8_t *end_addr;
// Context right after the branch instruction
- ctx_t src_ctx;
+ // Unused for now.
+ // ctx_t src_ctx;
// Branch target blocks and their contexts
blockid_t targets[2];