diff options
author | Alan Wu <[email protected]> | 2021-12-15 16:13:23 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-15 16:13:23 -0500 |
commit | 7e27de2f1e949b3494c3dc56e12d265fa9d12be8 (patch) | |
tree | 801de4535a26cf66b52bab06d43922ce4401a6bd /yjit_core.c | |
parent | fbd21a81f3f422b39949ce2910e74b9df9c9bdd8 (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.c')
-rw-r--r-- | yjit_core.c | 2 |
1 files changed, 1 insertions, 1 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; |