diff options
| author | yui-knk <spiketeika@gmail.com> | 2026-01-06 12:08:48 +0900 |
|---|---|---|
| committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2026-01-07 08:26:37 +0800 |
| commit | a024dca391695d07b24598677ddd6509ae3febfb (patch) | |
| tree | f8807e0f767f948c873d398f02b330da8e4dadd5 | |
| parent | b2ed4cdced26f8840e181960c776e950e8bb0396 (diff) | |
Remove `in_masgn` field from `struct iseq_compile_data`
`in_masgn` has not been used since fb6e3a80009a744a4e0b75660f1ce6da65e20e6c.
| -rw-r--r-- | compile.c | 3 | ||||
| -rw-r--r-- | iseq.h | 1 |
2 files changed, 0 insertions, 4 deletions
@@ -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; } @@ -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; |
