pub enum ArgumentOrder {
FirstOnTop,
LastOnTop,
}Expand description
Where the compiler leaves a function’s parameters on the stack when the function is
entered. Solidity’s two code generators disagree, and nothing in the artifacts says
which produced the code, so StepMap proves it from the trace instead of assuming.
Variants§
FirstOnTop
The first declared parameter is on top: the via-IR pipeline pushes them right-to-left.
LastOnTop
The last declared parameter is on top: the legacy pipeline pushes them left-to-right.
Trait Implementations§
Source§impl Clone for ArgumentOrder
impl Clone for ArgumentOrder
impl Copy for ArgumentOrder
Source§impl Debug for ArgumentOrder
impl Debug for ArgumentOrder
impl Eq for ArgumentOrder
Source§impl PartialEq for ArgumentOrder
impl PartialEq for ArgumentOrder
impl StructuralPartialEq for ArgumentOrder
Auto Trait Implementations§
impl Freeze for ArgumentOrder
impl RefUnwindSafe for ArgumentOrder
impl Send for ArgumentOrder
impl Sync for ArgumentOrder
impl Unpin for ArgumentOrder
impl UnsafeUnpin for ArgumentOrder
impl UnwindSafe for ArgumentOrder
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