aboutsummaryrefslogtreecommitdiffstats
path: root/yjit/bindgen/src/main.rs
diff options
context:
space:
mode:
authorKevin Menard <kevin.menard@shopify.com>2024-04-24 10:31:35 -0400
committerGitHub <noreply@github.com>2024-04-24 10:31:35 -0400
commitafc7799c3271aab7792c178ab9aee15b87468341 (patch)
treeaf5b29d52cb0774ca2bfdf8cc808a96daa1a0d47 /yjit/bindgen/src/main.rs
parent480287d14056ca7366477ad39b944195185a6d7e (diff)
downloadruby-afc7799c3271aab7792c178ab9aee15b87468341.tar.gz
YJIT: Add a specialized codegen function for `Class#superclass`. (#10613)
Add a specialized codegen function for `Class#superclass`. Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> Co-authored-by: Takashi Kokubun (k0kubun) <takashikkbn@gmail.com> Co-authored-by: Randy Stauner <randy.stauner@shopify.com> Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Diffstat (limited to 'yjit/bindgen/src/main.rs')
-rw-r--r--yjit/bindgen/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs
index c58df7c377..c16617b3f0 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -174,6 +174,7 @@ fn main() {
.allowlist_var("rb_cThread")
.allowlist_var("rb_cArray")
.allowlist_var("rb_cHash")
+ .allowlist_var("rb_cClass")
// From include/ruby/internal/fl_type.h
.allowlist_type("ruby_fl_type")