diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-01-06 11:49:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-06 11:49:59 -0800 |
commit | 00d58afb5d7f3cf3a553e1e8f75f31e4d8781fe7 (patch) | |
tree | 90a380a0156beac85b6c2f7f8439a819ee9d2918 /yjit/src/cruby_bindings.inc.rs | |
parent | 311ce9173330060ec805ef54887003dd1b447f15 (diff) | |
download | ruby-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/src/cruby_bindings.inc.rs')
-rw-r--r-- | yjit/src/cruby_bindings.inc.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yjit/src/cruby_bindings.inc.rs b/yjit/src/cruby_bindings.inc.rs index 9dff8fe3a0..c28518ea38 100644 --- a/yjit/src/cruby_bindings.inc.rs +++ b/yjit/src/cruby_bindings.inc.rs @@ -1163,8 +1163,9 @@ extern "C" { pub fn rb_ensure_iv_list_size(obj: VALUE, len: u32, newsize: u32); pub fn rb_vm_insn_decode(encoded: VALUE) -> ::std::os::raw::c_int; pub fn rb_vm_insn_addr2opcode(addr: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn rb_iseq_line_no(iseq: *const rb_iseq_t, pos: usize) -> ::std::os::raw::c_uint; pub fn rb_iseqw_to_iseq(iseqw: VALUE) -> *const rb_iseq_t; - pub fn rb_iseq_method_name(iseq: *const rb_iseq_t) -> VALUE; + pub fn rb_iseq_label(iseq: *const rb_iseq_t) -> VALUE; pub fn rb_vm_barrier(); pub fn rb_profile_frames( start: ::std::os::raw::c_int, |