mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove unreachable code
It's just a copy of the code in the previous case (NODE_CALL).
This commit is contained in:
@@ -957,13 +957,6 @@ gen_assignment(codegen_scope *s, node *tree, int sp, int val)
|
||||
gen_vmassignment(s, tree->car, sp, val);
|
||||
break;
|
||||
|
||||
push();
|
||||
gen_call(s, tree, attrsym(s, sym(tree->cdr->car)), sp, NOVAL);
|
||||
pop();
|
||||
if (val) {
|
||||
genop_peep(s, MKOP_AB(OP_MOVE, cursp(), sp), val);
|
||||
}
|
||||
break;
|
||||
/* splat without assignment */
|
||||
case NODE_NIL:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user