summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2021-02-01 09:23:06 -0800
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:28 -0400
commit9453267689fdc405aa3d2eb0bb27e52addf982ec (patch)
tree272c24b1562e2aa358999c4991e0a34fe731d633 /vm.c
parent53bd13edf3b41b965297d4ed425a96b9b57dd053 (diff)
add bop to redefinition callback
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index f8041eab9a..e98f89864b 100644
--- a/vm.c
+++ b/vm.c
@@ -1856,7 +1856,7 @@ rb_vm_check_redefinition_opt_method(const rb_method_entry_t *me, VALUE klass)
if (vm_redefinition_check_method_type(me->def)) {
if (st_lookup(vm_opt_method_def_table, (st_data_t)me->def, &bop)) {
int flag = vm_redefinition_check_flag(klass);
- rb_ujit_bop_redefined(klass, me);
+ rb_ujit_bop_redefined(klass, me, (enum ruby_basic_operators)bop);
ruby_vm_redefined_flag[bop] |= flag;
}