summaryrefslogtreecommitdiff
path: root/prism_compile.c
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-07-18 13:31:17 -0400
committerKevin Newton <[email protected]>2024-07-18 15:30:45 -0400
commit53710be557105826440fc705415af37856e19db5 ()
tree5e5285f3befe3022e8b1938d8274b5404141edb5 /prism_compile.c
parent50e7c8f05190656f674514e7c3abb8ad08e12bdb (diff)
[PRISM] Use concattoarray instead of splatarray+concatarray
Notes: Merged: https://.com/ruby/ruby/pull/11200
-rw-r--r--prism_compile.c3
1 files changed, 1 insertions, 2 deletions
@@ -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);
}
has_splat = true;