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_eval.c | |
parent | 58dfea0c8de29cbad35621847c04372b779c5f5d (diff) |
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_eval.c')
-rw-r--r-- | vm_eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -267,7 +267,7 @@ rb_adjust_argv_kw_splat(int *argc, const VALUE **argv, int *kw_splat) VALUE rb_vm_call(rb_execution_context_t *ec, VALUE recv, VALUE id, int argc, const VALUE *argv, const rb_callable_method_entry_t *me) { - return rb_vm_call0(ec, recv, id, argc, argv, me, VM_NO_KEYWORDS); + return rb_vm_call0(ec, recv, id, argc, argv, me, RB_NO_KEYWORDS); } MJIT_FUNC_EXPORTED VALUE @@ -371,7 +371,7 @@ rb_call0(rb_execution_context_t *ec, const rb_callable_method_entry_t *me; enum method_missing_reason call_status; call_type scope = call_scope; - int kw_splat = VM_NO_KEYWORDS; + int kw_splat = RB_NO_KEYWORDS; switch(scope) { case(CALL_PUBLIC_KW): @@ -1012,7 +1012,7 @@ rb_funcallv_with_cc(struct rb_call_cache_and_mid *cc, VALUE recv, ID mid, int ar Qundef, recv, argc, - VM_NO_KEYWORDS, + RB_NO_KEYWORDS, }, &ci, &cc->cc, |