summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-29 11:57:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-29 11:57:14 +0000
commitc463366dfd75056885028a95e8e2fc6e135d9194 (patch)
tree684f70d3ecfe562d0a3c48d29c69309f7ac92748 /vm_insnhelper.c
parent26de0b131e57952d29664de4453e2f04ec3df2bc (diff)
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
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
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: