summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2022-07-26 18:19:44 -0700
committerJohn Hawthorn <john@hawthorn.email>2022-09-01 15:20:49 -0700
commit1cc97412cd8168d897b1b361c8fa2cf792a51729 (patch)
treed05b35c7bc71eb3c75602f20d7078abfa6a451e5 /yjit
parent679ef34586e7a43151865cb7f33a3253d815f7cf (diff)
Remove rb_iseq_each
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6187
Diffstat (limited to 'yjit')
-rw-r--r--yjit/bindgen/src/main.rs1
-rw-r--r--yjit/src/cruby_bindings.inc.rs16
2 files changed, 0 insertions, 17 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs
index df4083638d..eaf030a1de 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -288,7 +288,6 @@ fn main() {
// From iseq.h
.allowlist_function("rb_vm_insn_addr2opcode")
.allowlist_function("rb_iseqw_to_iseq")
- .allowlist_function("rb_iseq_each")
.allowlist_function("rb_iseq_method_name")
// From builtin.h
diff --git a/yjit/src/cruby_bindings.inc.rs b/yjit/src/cruby_bindings.inc.rs
index cedc3216b8..9869998788 100644
--- a/yjit/src/cruby_bindings.inc.rs
+++ b/yjit/src/cruby_bindings.inc.rs
@@ -979,22 +979,6 @@ pub type ruby_vminsn_type = u32;
extern "C" {
pub fn rb_vm_insn_addr2opcode(addr: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
-pub type rb_iseq_each_i = ::std::option::Option<
- unsafe extern "C" fn(
- code: *mut VALUE,
- insn: VALUE,
- index: size_t,
- data: *mut ::std::os::raw::c_void,
- ) -> bool,
->;
-extern "C" {
- pub fn rb_iseq_each(
- iseq: *const rb_iseq_t,
- start_index: size_t,
- iterator: rb_iseq_each_i,
- data: *mut ::std::os::raw::c_void,
- );
-}
extern "C" {
pub fn rb_iseqw_to_iseq(iseqw: VALUE) -> *const rb_iseq_t;
}