diff options
author | Kevin Newton <[email protected]> | 2024-07-18 13:46:52 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-07-18 15:30:45 -0400 |
commit | 1fd1fb2aa5daa604464df94735dd234ecb170b7b () | |
tree | 08b511c6b4f37f2fe0c61c32749bd6eb3d921e42 /prism_compile.c | |
parent | 53710be557105826440fc705415af37856e19db5 (diff) |
[PRISM] Use KW_SPLAT_MUT when possible for method calls
Notes: Merged: https://.com/ruby/ruby/pull/11200
-rw-r--r-- | prism_compile.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1562,6 +1562,14 @@ pm_setup_args_core(const pm_arguments_node_t *arguments_node, const pm_node_t *b if (has_keyword_splat || has_splat) { *flags |= VM_CALL_KW_SPLAT; has_keyword_splat = true; pm_compile_hash_elements(iseq, argument, elements, true, ret, scope_node); } else { |