Remove in_masgn field from struct iseq_compile_data

`in_masgn` has not been used since fb6e3a8000.
This commit is contained in:
yui-knk authored and Yuichiro Kaneko committed 2026-01-07 08:26:37 +08:00
1 parent b2ed4cdced
commit a024dca391
2 files changed
-4
Notes: git 2026-01-07 00:27:05 +00:00

No files matched your search

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