summaryrefslogtreecommitdiff
path: root/yjit/bindgen
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-01-06 11:49:59 -0800
committerGitHub <noreply@github.com>2023-01-06 11:49:59 -0800
commit00d58afb5d7f3cf3a553e1e8f75f31e4d8781fe7 (patch)
tree90a380a0156beac85b6c2f7f8439a819ee9d2918 /yjit/bindgen
parent311ce9173330060ec805ef54887003dd1b447f15 (diff)
downloadruby-00d58afb5d7f3cf3a553e1e8f75f31e4d8781fe7.tar.gz
YJIT: Make iseq_get_location consistent with iseq.c (#7074)
* YJIT: Make iseq_get_location consistent with iseq.c * YJIT: Call it "YJIT entry point" Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
Diffstat (limited to 'yjit/bindgen')
-rw-r--r--yjit/bindgen/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs
index 996d7fa1c0..23b32afbd0 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -318,7 +318,8 @@ fn main() {
// From iseq.h
.allowlist_function("rb_vm_insn_addr2opcode")
.allowlist_function("rb_iseqw_to_iseq")
- .allowlist_function("rb_iseq_method_name")
+ .allowlist_function("rb_iseq_label")
+ .allowlist_function("rb_iseq_line_no")
// From builtin.h
.allowlist_type("rb_builtin_function.*")