Skip to content

Commit

Permalink
add new Instruction::visit_regs API
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Sep 17, 2024
1 parent 82e5dcb commit b16d0b4
Show file tree
Hide file tree
Showing 2 changed files with 718 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/ir/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ pub mod index;
mod primitive;
mod sequence;
mod span;
mod visit_regs;

#[cfg(test)]
mod tests;

use wasmi_core as core;

use self::immeditate::AnyConst16;
#[doc(inline)]
pub use self::{
error::Error,
Expand All @@ -30,4 +32,5 @@ pub use self::{
r#enum::Instruction,
sequence::{InstrIter, InstrIterMut, InstrSequence},
span::{BoundedRegSpan, FixedRegSpan, RegSpan, RegSpanIter},
visit_regs::VisitRegs,
};
Loading

0 comments on commit b16d0b4

Please sign in to comment.