summaryrefslogtreecommitdiff
path: root/yjit_core.h
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-12-15 16:13:23 -0500
committerGitHub <noreply@github.com>2021-12-15 16:13:23 -0500
commit7e27de2f1e949b3494c3dc56e12d265fa9d12be8 (patch)
tree801de4535a26cf66b52bab06d43922ce4401a6bd /yjit_core.h
parentfbd21a81f3f422b39949ce2910e74b9df9c9bdd8 (diff)
YJIT: Remove unused branch_t::src_ctx field
No one reads it at the moment and it's heap allocated.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5278 Merged-By: XrXr
Diffstat (limited to 'yjit_core.h')
-rw-r--r--yjit_core.h3
1 files changed, 2 insertions, 1 deletions
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];