pub struct Arrived {
pub regs: Vec<Reg>,
pub stack: Vec<(Inst, u32)>,
}Expand description
What a function’s parameters came to.
Fields§
§regs: Vec<Reg>The register each parameter is in, in the order the parameters were given, so the caller can bind each IR parameter to the one at its position.
stack: Vec<(Inst, u32)>The loads that read a parameter out of the caller’s argument area, and how far up that area each of them reads.
Empty for almost every function, because almost every function has few enough parameters to
have been handed all of them in registers. The distance is from the bottom of the caller’s
argument area, which is somewhere crate::finish works out and this cannot.
Trait Implementations§
impl Eq for Arrived
impl StructuralPartialEq for Arrived
Auto Trait Implementations§
impl Freeze for Arrived
impl RefUnwindSafe for Arrived
impl Send for Arrived
impl Sync for Arrived
impl Unpin for Arrived
impl UnsafeUnpin for Arrived
impl UnwindSafe for Arrived
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