Skip to content

Commit a024dca

Browse files
committed
Remove in_masgn field from struct iseq_compile_data
`in_masgn` has not been used since fb6e3a8.
1 parent b2ed4cd commit a024dca

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

compile.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10926,10 +10926,7 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const no
1092610926
}
1092710927

1092810928
case NODE_MASGN:{
10929-
bool prev_in_masgn = ISEQ_COMPILE_DATA(iseq)->in_masgn;
10930-
ISEQ_COMPILE_DATA(iseq)->in_masgn = true;
1093110929
compile_massign(iseq, ret, node, popped);
10932-
ISEQ_COMPILE_DATA(iseq)->in_masgn = prev_in_masgn;
1093310930
break;
1093410931
}
1093510932

iseq.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ struct iseq_compile_data {
129129
struct iseq_compile_data_storage *storage_current;
130130
} insn;
131131
bool in_rescue;
132-
bool in_masgn;
133132
int loopval_popped; /* used by NODE_BREAK */
134133
int last_line;
135134
int label_no;

0 commit comments

Comments
 (0)