[PRISM] Use concattoarray instead of splatarray+concatarray

This commit is contained in:
Kevin Newton 2024-07-18 13:31:17 -04:00
Родитель 50e7c8f051
Коммит 53710be557
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -1687,8 +1687,7 @@ pm_setup_args_core(const pm_arguments_node_t *arguments_node, const pm_node_t *b
//
// foo(a, *b, *c)
// ^^
PUSH_INSN1(ret, location, splatarray, Qfalse);
PUSH_INSN(ret, location, concatarray);
PUSH_INSN(ret, location, concattoarray);
}
has_splat = true;