pub struct Save {
pub reg: Reg,
pub inst: Inst,
pub slot: u32,
}Expand description
A value kept in a register an instruction destroys, put away in front of that instruction and brought back behind it.
The register is the value’s Place and the slot is somewhere it waits for the length of the
one instruction. That is what a value read in every turn of a loop and wanted on the far side of
a call the loop only makes now and then gets instead of the stack: a store and a load where the
call is, rather than a load at every read.
Fields§
§reg: RegThe value.
inst: InstThe instruction it is put away around.
slot: u32The slot it waits in.
Trait Implementations§
impl Copy for Save
impl Eq for Save
impl StructuralPartialEq for Save
Auto Trait Implementations§
impl Freeze for Save
impl RefUnwindSafe for Save
impl Send for Save
impl Sync for Save
impl Unpin for Save
impl UnsafeUnpin for Save
impl UnwindSafe for Save
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