From a024dca391695d07b24598677ddd6509ae3febfb Mon Sep 17 00:00:00 2001 From: yui-knk Date: Tue, 6 Jan 2026 12:08:48 +0900 Subject: Remove `in_masgn` field from `struct iseq_compile_data` `in_masgn` has not been used since fb6e3a80009a744a4e0b75660f1ce6da65e20e6c. --- compile.c | 3 --- iseq.h | 1 - 2 files changed, 4 deletions(-) diff --git a/compile.c b/compile.c index bcf22243cf..b7d6b07090 100644 --- a/compile.c +++ b/compile.c @@ -10926,10 +10926,7 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const no } case NODE_MASGN:{ - bool prev_in_masgn = ISEQ_COMPILE_DATA(iseq)->in_masgn; - ISEQ_COMPILE_DATA(iseq)->in_masgn = true; compile_massign(iseq, ret, node, popped); - ISEQ_COMPILE_DATA(iseq)->in_masgn = prev_in_masgn; break; } diff --git a/iseq.h b/iseq.h index fbb8180a49..5221c8aeb4 100644 --- a/iseq.h +++ b/iseq.h @@ -129,7 +129,6 @@ struct iseq_compile_data { struct iseq_compile_data_storage *storage_current; } insn; bool in_rescue; - bool in_masgn; int loopval_popped; /* used by NODE_BREAK */ int last_line; int label_no; -- cgit v1.2.3