pub struct FactSpecResult {
pub ops: Vec<WasmOp>,
pub block_arity: Vec<(u8, u8)>,
pub kept: Vec<usize>,
pub admitted: Vec<String>,
pub declined: Vec<String>,
}Expand description
Outcome of specializing one function. ops/block_arity/kept are only
meaningful when changed — otherwise they echo the input.
Fields§
§ops: Vec<WasmOp>The (possibly rewritten) op stream.
block_arity: Vec<(u8, u8)>The blocktype-arity side-table matching ops (one entry per
Block/Loop/If in op order — entries of deleted openers removed).
kept: Vec<usize>Indices into the ORIGINAL op stream that were kept, in order. Lets the
driver filter parallel side-tables (e.g. op_offsets for DWARF).
admitted: Vec<String>One certificate line per ADMITTED elision (logged per function).
declined: Vec<String>One line per LOUD DECLINE (the general lowering is emitted for these).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FactSpecResult
impl RefUnwindSafe for FactSpecResult
impl Send for FactSpecResult
impl Sync for FactSpecResult
impl Unpin for FactSpecResult
impl UnsafeUnpin for FactSpecResult
impl UnwindSafe for FactSpecResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more