aboutsummaryrefslogtreecommitdiffstats
path: root/vm_eval.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2022-09-14 14:47:26 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2022-09-21 11:44:09 +0900
commit77c61ae3ab51746c986ff853c85b5e05bc6a942b (patch)
tree46055d2ab4bbc93f94ed2bc2cd9a7a22d934fb81 /vm_eval.c
parentec5798d28bca2c214da886e27d8e870c55301563 (diff)
downloadruby-77c61ae3ab51746c986ff853c85b5e05bc6a942b.tar.gz
cc_new: vm_ci_new's 4th argument is a pointer
Don't pass boolean.
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_eval.c b/vm_eval.c
index db8ca455d9..c7ad71e279 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -408,7 +408,7 @@ cc_new(VALUE klass, ID mid, int argc, const rb_callable_method_entry_t *cme)
}
if (cc == NULL) {
- const struct rb_callinfo *ci = vm_ci_new(mid, 0, argc, false); // TODO: proper ci
+ const struct rb_callinfo *ci = vm_ci_new(mid, 0, argc, NULL); // TODO: proper ci
cc = vm_cc_new(klass, cme, vm_call_general);
METHOD_ENTRY_CACHED_SET((struct rb_callable_method_entry_struct *)cme);
vm_ccs_push(klass, ccs, ci, cc);