From 6fdd701472af5355562cb2394167b26a4c3a2a97 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Sun, 29 Sep 2019 16:41:00 -0700 Subject: Remove VM_NO_KEYWORDS, replace with RB_NO_KEYWORDS VM_NO_KEYWORDS was introduced first in vm_core.h, but it is best to only use a single definition for this. --- 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 4375a4827e..54142b8d71 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1625,7 +1625,7 @@ check_match(rb_execution_context_t *ec, VALUE pattern, VALUE target, enum vm_che const rb_callable_method_entry_t *me = rb_callable_method_entry_with_refinements(CLASS_OF(pattern), idEqq, NULL); if (me) { - return rb_vm_call0(ec, pattern, idEqq, 1, &target, me, VM_NO_KEYWORDS); + return rb_vm_call0(ec, pattern, idEqq, 1, &target, me, RB_NO_KEYWORDS); } else { /* fallback to funcall (e.g. method_missing) */ -- cgit v1.2.3