aboutsummaryrefslogtreecommitdiffstats
path: root/yjit/bindgen/src/main.rs
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-08-09 10:16:15 -0700
committerGitHub <noreply@github.com>2023-08-09 10:16:15 -0700
commitd3efce69eaabf1ff81bcdf3631350a87ac0dda28 (patch)
tree5332b436af42af8a7a34808b6b92c794cf41b607 /yjit/bindgen/src/main.rs
parentc9b30f9d76ec7c726a703a7f8aad95b5998e7d6c (diff)
downloadruby-d3efce69eaabf1ff81bcdf3631350a87ac0dda28.tar.gz
YJIT: Count throw instructions for each tag (#8188)
* YJIT: Count throw instructions for each tag * Show % of each throw type
Diffstat (limited to 'yjit/bindgen/src/main.rs')
-rw-r--r--yjit/bindgen/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs
index 29f39a7cb4..8a187bf674 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -290,6 +290,8 @@ fn main() {
.allowlist_var("VM_ENV_DATA_SIZE")
.allowlist_function("rb_iseq_path")
.allowlist_type("rb_builtin_attr")
+ .allowlist_type("ruby_tag_type")
+ .allowlist_type("ruby_vm_throw_flags")
// From yjit.c
.allowlist_function("rb_iseq_(get|set)_yjit_payload")