1 2 3 4 5 6 7 8 9 10 11 12 13
use crate::{FuncIdx, Opcode}; use alloc::vec::Vec; #[derive(Debug, Clone)] pub enum Intrinsic { Replace(Vec<Opcode>), Remove, } #[derive(Default, Debug)] pub struct IntrinsicHandler { pub intrinsics: Vec<(FuncIdx, Intrinsic)>, }