summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2020-10-27 18:49:17 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:26 -0400
commitc378c7a7cb937cd9fe5814f2838b1d6cd1d177b2 (patch)
tree1a809c1a7a7606ac2ec624e7e6083bc5828c832d /gc.c
parent0c52371c47d8b65f91ed5d2a7e2c14c96d286f57 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 4451218f71..879b6e4dc0 100644
--- a/gc.c
+++ b/gc.c
@@ -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);
}