diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2020-10-27 18:49:17 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:26 -0400 |
commit | c378c7a7cb937cd9fe5814f2838b1d6cd1d177b2 (patch) | |
tree | 1a809c1a7a7606ac2ec624e7e6083bc5828c832d /gc.c | |
parent | 0c52371c47d8b65f91ed5d2a7e2c14c96d286f57 (diff) |
MicroJIT: generate less code for CFUNCs
Added UJIT_CHECK_MODE. Set to 1 to double check method dispatch in
generated code.
It's surprising to me that we need to watch both cc and cme. There might
be opportunities to simplify there.
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2907,7 +2907,7 @@ vm_ccs_free(struct rb_class_cc_entries *ccs, int alive, rb_objspace_t *objspace, asan_poison_object((VALUE)cc); } } - vm_cc_invalidate(cc); + rb_vm_cc_invalidate(cc); } ruby_xfree(ccs->entries); } |