summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2021-07-14 15:16:56 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:37 -0400
commitbe648e0940054a693105b1a3da6c2675ee724499 (patch)
tree5e425492839b2d925f1c1d784c53916d522e97aa /vm_insnhelper.c
parentcb5571eece818b33d2f6a33b892e7cda31231e69 (diff)
Implement splatarray
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 8babcca0a4..1b1958320d 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -4257,6 +4257,12 @@ vm_splat_array(VALUE flag, VALUE ary)
}
}
+VALUE
+rb_vm_splat_array(VALUE flag, VALUE ary)
+{
+ return vm_splat_array(flag, ary);
+}
+
static VALUE
vm_check_match(rb_execution_context_t *ec, VALUE target, VALUE pattern, rb_num_t flag)
{