diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-09-29 16:41:00 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-29 16:41:00 -0700 |
commit | 6fdd701472af5355562cb2394167b26a4c3a2a97 (patch) | |
tree | bcd0e27d0b7af483e0bac90dec25209de8cfa40a /vm_insnhelper.c | |
parent | 58dfea0c8de29cbad35621847c04372b779c5f5d (diff) | |
download | ruby-6fdd701472af5355562cb2394167b26a4c3a2a97.tar.gz |
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.
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) */ |