summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2023-09-08 09:17:09 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-09-10 19:45:33 +0900
commitb5914a72a9134b3ccdbf2dd4416040b35934d182 (patch)
treecdd29fc7a8168eb962825e2d4f7a3be4dc983e6e /compile.c
parent0e49f8173a854bfa826c7b772d6fd990f6c75d0c (diff)
Refactor to use same logic with other assignment nodes
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8400
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index a165690597..86797cb793 100644
--- a/compile.c
+++ b/compile.c
@@ -5120,8 +5120,6 @@ compile_massign_opt(rb_iseq_t *iseq, LINK_ANCHOR *const ret,
const NODE *ln = lhsn->nd_head;
switch (nd_type(ln)) {
case NODE_LASGN:
- MEMORY(ln->nd_vid);
- break;
case NODE_DASGN:
case NODE_IASGN:
case NODE_CVASGN: