From c463366dfd75056885028a95e8e2fc6e135d9194 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 29 Jul 2016 11:57:14 +0000 Subject: rb_funcallv * *.c: rename rb_funcall2 to rb_funcallv, except for extensions which are/will be/may be gems. [Fix GH-1406] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_insnhelper.c') diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 9b29124709..1b4123412f 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1303,7 +1303,7 @@ check_match(VALUE pattern, VALUE target, enum vm_check_match_type type) } else { /* fallback to funcall (e.g. method_missing) */ - return rb_funcall2(pattern, idEqq, 1, &target); + return rb_funcallv(pattern, idEqq, 1, &target); } } default: -- cgit v1.2.3