summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2026-01-06 12:08:48 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2026-01-07 08:26:37 +0800
commita024dca391695d07b24598677ddd6509ae3febfb (patch)
treef8807e0f767f948c873d398f02b330da8e4dadd5
parentb2ed4cdced26f8840e181960c776e950e8bb0396 (diff)
Remove `in_masgn` field from `struct iseq_compile_data`
`in_masgn` has not been used since fb6e3a80009a744a4e0b75660f1ce6da65e20e6c.
-rw-r--r--compile.c3
-rw-r--r--iseq.h1
2 files changed, 0 insertions, 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;