diff options
author | 卜部昌平 <[email protected]> | 2022-09-14 14:47:26 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2022-09-21 11:44:09 +0900 |
commit | 77c61ae3ab51746c986ff853c85b5e05bc6a942b (patch) | |
tree | 46055d2ab4bbc93f94ed2bc2cd9a7a22d934fb81 /vm_eval.c | |
parent | ec5798d28bca2c214da886e27d8e870c55301563 (diff) |
cc_new: vm_ci_new's 4th argument is a pointer
Don't pass boolean.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |