Remove trap from CodeSink

And introduce MachBufferFinalized::traps() in the place.
This commit is contained in:
bjorn3
2022-01-11 16:42:52 +01:00
parent 38aaa6e1da
commit 63e2360346
6 changed files with 25 additions and 35 deletions

View File

@@ -88,7 +88,7 @@ pub mod verifier;
pub mod write;
pub use crate::entity::packed_option;
pub use crate::machinst::buffer::{MachCallSite, MachSrcLoc};
pub use crate::machinst::buffer::{MachCallSite, MachSrcLoc, MachTrap};
pub use crate::machinst::TextSectionBuilder;
mod bitset;