pub struct Sccp<'function, 'table> { /* private fields */ }Implementations§
Source§impl<'function, 'table> Sccp<'function, 'table>
impl<'function, 'table> Sccp<'function, 'table>
pub fn new(function: &'function mut BytecodeFunction<'table>) -> Self
pub fn lattice(&self, operand: BytecodeOperand) -> ConstantLattice
pub fn propagate(&mut self)
pub fn rewrite(&mut self)
Auto Trait Implementations§
impl<'function, 'table> !UnwindSafe for Sccp<'function, 'table>
impl<'function, 'table> Freeze for Sccp<'function, 'table>
impl<'function, 'table> RefUnwindSafe for Sccp<'function, 'table>
impl<'function, 'table> Send for Sccp<'function, 'table>
impl<'function, 'table> Sync for Sccp<'function, 'table>
impl<'function, 'table> Unpin for Sccp<'function, 'table>
impl<'function, 'table> UnsafeUnpin for Sccp<'function, 'table>
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