Remove in_masgn field from struct iseq_compile_data

`in_masgn` has not been used since fb6e3a80009a744a4e0b75660f1ce6da65e20e6c.
This commit is contained in:
yui-knk 2026-01-06 12:08:48 +09:00 committed by Yuichiro Kaneko
parent b2ed4cdced
commit a024dca391
Notes: git 2026-01-07 00:27:05 +00:00
2 changed files with 0 additions and 4 deletions

View File

@ -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;
}

1
iseq.h
View File

@ -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;