aboutsummaryrefslogtreecommitdiffstats
path: root/yjit/bindgen/src/main.rs
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-01-19 08:00:46 -0800
committerGitHub <noreply@github.com>2024-01-19 11:00:46 -0500
commit3c9290173a1421b0624a6d62c0844c778dbc61ad (patch)
tree97ac12c570c6494e920f3c031b698a5cf0e15cf4 /yjit/bindgen/src/main.rs
parenta58e091686d9117673487b5b2ab6a793ecc81702 (diff)
downloadruby-3c9290173a1421b0624a6d62c0844c778dbc61ad.tar.gz
YJIT: Optimize defined?(yield) (#9599)
* YJIT: Optimize defined?(yield) * Remove an irrelevant comment * s/get/gen/
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 848e9fadc4..e249181d51 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -348,6 +348,7 @@ fn main() {
.allowlist_function("rb_iseqw_to_iseq")
.allowlist_function("rb_iseq_label")
.allowlist_function("rb_iseq_line_no")
+ .allowlist_type("defined_type")
// From builtin.h
.allowlist_type("rb_builtin_function.*")